-
Notifications
You must be signed in to change notification settings - Fork 4.8k
azurerm_data_factory_linked_services
rename properties
#29902
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
base: main
Are you sure you want to change the base?
Conversation
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 @wyattfry, I've left a couple comments
Optional: true, | ||
Computed: true, | ||
ConflictsWith: []string{"sas_token_linked_key_vault_key"}, | ||
Deprecated: "`security.enable_backend_ssl30` has been deprecated in favour of the `security.backend_ssl30_enabled` property and will be removed in v5.0 of the AzureRM Provider", |
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.
This will need a deprecation message matching the property
if err := d.Set("key_vault_sas_token", flattenAzureKeyVaultSecretReference(keyVaultPassword)); err != nil { | ||
return fmt.Errorf("Error setting `key_vault_sas_token`: %+v", err) | ||
if err := d.Set("sas_token_linked_key_vault_key", flattenAzureKeyVaultSecretReference(keyVaultPassword)); err != nil { | ||
return fmt.Errorf("setting `key_vault_sas_token`: %+v", err) |
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.
return fmt.Errorf("setting `key_vault_sas_token`: %+v", err) | |
return fmt.Errorf("setting `sas_token_linked_key_vault_key`: %+v", err) |
|
||
|
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.
Not sure why these are added?
Type: pluginsdk.TypeString, | ||
Optional: true, | ||
Computed: true, | ||
ConflictsWith: []string{"msi_workspace_id"}, |
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.
ConflictsWith: []string{"msi_workspace_id"}, |
Optional: true, | ||
Computed: true, | ||
ValidateFunc: workspaces.ValidateWorkspaceID, | ||
ConflictsWith: []string{"msi_work_space_resource_id"}, |
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.
Nit: this is redundant since we already have ExactlyOneOf
which includes msi_work_space_resource_id
and msi_workspace_id
ConflictsWith: []string{"msi_work_space_resource_id"}, |
|
||
|
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.
Not sure why these are added?
Community Note
Description
Rename properties:
key_vault_sas_token
→sas_token_linked_key_vault_key
msi_work_space_resource_id
→msi_workspace_id
PR Checklist
For example: “
resource_name_here
- description of change e.g. adding propertynew_property_name_here
”Changes to existing Resource / Data Source
Testing
Change Log
Below please provide what should go into the changelog (if anything) conforming to the Changelog Format documented here.
azurerm_data_factory_linked_services
rename properties [azurerm_data_factory_linked_services
rename properties #29902]This is a (please select all that apply):
Related Issue(s)
Fixes #0000
Rollback Plan
If a change needs to be reverted, we will publish an updated version of the provider.
Changes to Security Controls
Are there any changes to security controls (access controls, encryption, logging) in this pull request? If so, explain.
Note
If this PR changes meaningfully during the course of review please update the title and description as required.