-
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
new resource: azurerm_data_factory_credential_service_principal
#25805
new resource: azurerm_data_factory_credential_service_principal
#25805
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 for this PR!
I've taken a look through and left some comments inline, but this is mostly looking good to me 👍
website/docs/r/data_factory_credential_service_principal.html.markdown
Outdated
Show resolved
Hide resolved
website/docs/r/data_factory_credential_service_principal.html.markdown
Outdated
Show resolved
Hide resolved
internal/services/datafactory/data_factory_credential_service_principal_resource.go
Show resolved
Hide resolved
internal/services/datafactory/data_factory_credential_service_principal_resource.go
Outdated
Show resolved
Hide resolved
internal/services/datafactory/data_factory_credential_service_principal_resource.go
Outdated
Show resolved
Hide resolved
internal/services/datafactory/data_factory_credential_service_principal_resource.go
Outdated
Show resolved
Hide resolved
internal/services/datafactory/data_factory_credential_service_principal_resource.go
Outdated
Show resolved
Hide resolved
LGTM now! |
Thanks @magodo |
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.
Test failure:
------- Stdout: -------
=== RUN TestAccDataFactoryCredentialServicePrincipal_requiresImport
=== PAUSE TestAccDataFactoryCredentialServicePrincipal_requiresImport
=== CONT TestAccDataFactoryCredentialServicePrincipal_requiresImport
testcase.go:113: Step 1/2 error: Error running apply: exit status 1
Error: creating Key Vault (Subscription: "*******"
Resource Group Name: "acctestRG-df-240506171043463502"
Key Vault Name: "acctestkv24050602"): performing CreateOrUpdate: vaults.VaultsClient#CreateOrUpdate: Failure sending request: StatusCode=0 -- Original Error: autorest/azure: Service returned an error. Status=<nil> Code="VaultAlreadyExists" Message="The vault name 'acctestkv24050602' is already in use. Vault names are globally unique so it is possible that the name is already taken. If you are sure that the vault name was not taken then it is possible that a vault with the same name was recently deleted but not purged after being placed in a recoverable state. If the vault is in a recoverable state then the vault will need to be purged before reusing the name. For more information about VaultAlreadyExists, soft delete and purging a vault follow this link https://go.microsoft.com/fwlink/?linkid=2147740."
with azurerm_key_vault.test,
on terraform_plugin_test.tf line 44, in resource "azurerm_key_vault" "test":
44: resource "azurerm_key_vault" "test" {
--- FAIL: TestAccDataFactoryCredentialServicePrincipal_requiresImport (66.25s)
FAIL
Thanks @katbyte , I've updated the tests, now all passing |
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.
LGTM 🌈
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions. |
Community Note
Description
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_resource
- support for thething1
property [GH-00000]This is a (please select all that apply):
Related Issue(s)
Fixes #0000
Note
If this PR changes meaningfully during the course of review please update the title and description as required.