-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
azurerm_fluid_relay_server
- fix versionless_id
support for key_vault_key_id
#28864
azurerm_fluid_relay_server
- fix versionless_id
support for key_vault_key_id
#28864
Conversation
func (f FluidRelayResource) customerManagedKeyVersionless(data acceptance.TestData) string { | ||
return fmt.Sprintf(` | ||
|
||
|
||
%[1]s | ||
|
||
resource "azurerm_fluid_relay_server" "test" { | ||
name = "acctestRG-fuildRelayServer-%[2]d" | ||
resource_group_name = azurerm_resource_group.test.name | ||
location = azurerm_resource_group.test.location | ||
identity { | ||
type = "UserAssigned" | ||
identity_ids = [azurerm_user_assigned_identity.test.id] | ||
} | ||
customer_managed_key { | ||
key_vault_key_id = azurerm_key_vault_key.test.versionless_id | ||
user_assigned_identity_id = azurerm_user_assigned_identity.test.id | ||
} | ||
} | ||
`, f.templateWithCMK(data), data.RandomInteger, data.Locations.Primary) | ||
} | ||
|
||
func (f FluidRelayResource) customerManagedKeyVersionlessUpdated(data acceptance.TestData) string { | ||
return fmt.Sprintf(` | ||
|
||
|
||
%[1]s | ||
|
||
resource "azurerm_fluid_relay_server" "test" { | ||
name = "acctestRG-fuildRelayServer-%[2]d" | ||
resource_group_name = azurerm_resource_group.test.name | ||
location = azurerm_resource_group.test.location | ||
identity { | ||
type = "UserAssigned" | ||
identity_ids = [azurerm_user_assigned_identity.test.id] | ||
} | ||
customer_managed_key { | ||
key_vault_key_id = azurerm_key_vault_key.test.versionless_id | ||
user_assigned_identity_id = azurerm_user_assigned_identity.test.id | ||
} | ||
} | ||
`, f.templateWithCMK(data), data.RandomInteger, data.Locations.Primary) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm having trouble spotting the difference between these two test configs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🙈
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @jackofallops LGTM 🐳
* Update CHANGELOG.md for #28840 * Update CHANGELOG.md #28808 * Update CHANGELOG.md #27962 * Update CHANGELOG.md for #28859 * Update for #28825 * Update CHANGELOG.md for #28864 * Update CHANGELOG.md #28539 * Update CHANGELOG.md #28685 * Update CHANGELOG.md for #28818 * Update for #28857 #28799 #28856 * Update for #28122 * Update for #28248 #27805 * Update for #28853 * Update for #28316 #28494 #28696 * Update for #28754 * Update CHANGELOG.md #28771 * Update CHANGELOG.md #28842 * Update for #28879 * Update for #28199 * Update CHANGELOG.md #28862 * prep for release v4.21.0 --------- Co-authored-by: sreallymatt <[email protected]> Co-authored-by: Wodans Son <[email protected]> Co-authored-by: stephybun <[email protected]> Co-authored-by: catriona-m <[email protected]> Co-authored-by: Matthew Frahry <[email protected]> Co-authored-by: Wyatt Fry <[email protected]>
azurerm_fluid_relay_server
- fixversionless_id
support forkey_vault_key_id
This is a (please select all that apply):