You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using terrafrom azurerm provider enabling OIDC Issuer for AKS Cluster and creating federated Identity Credentials. After Apply terraform it is enabled OIDC issuer and creating fedrated Identity Credentials is Failed
#22079
Terraform plan show as expected. But When I apply terraform plan OIDC is Issuer is enabled
but it show below error
Error: Provider produced inconsistent final plan
│
│ When expanding the plan for
│ azurerm_federated_identity_credential.afic["name"] to include new
│ values learned so far during apply, provider
│ "registry.terraform.io/hashicorp/azurerm" produced an invalid new value for
│ .issuer: was cty.StringVal(""), but now
│ cty.StringVal("https://westus.oic.prod-aks.azure.com/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/XXXXXXXXXXXXXXXXX").
│
│ This is a bug in the provider, which should be reported in the provider's│ own issue tracker.
Expected Behaviour
Should create federated identity Credentials after enabiling oidc issuer.
Actual Behaviour
failed to create the federated identity credentials
Steps to Reproduce
No response
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered:
ashishreddyaleti
changed the title
Using terrafrom azurerm provider enabling OIDC Issuer for AKS Cluster and creating federated Identity Credentials. After Apply terraform apply it is enabled OIDC issuer and creating fedrated Identity Credentials is Failed
Using terrafrom azurerm provider enabling OIDC Issuer for AKS Cluster and creating federated Identity Credentials. After Apply terraform it is enabled OIDC issuer and creating fedrated Identity Credentials is Failed
Jun 7, 2023
This was raised a few weeks ago in #21805 and a fix has already been merged and released in v3.59.0 of the provider. Upgrading to the latest version should fix this issue. Since this should already be resolved I'm going to close this issue.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Is there an existing issue for this?
Community Note
Terraform Version
1.0.10
AzureRM Provider Version
3.57.0
Affected Resource(s)/Data Source(s)
azurerm_federated_identity_credential
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
Should create federated identity Credentials after enabiling oidc issuer.
Actual Behaviour
failed to create the federated identity credentials
Steps to Reproduce
No response
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: