-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
Provider produced inconsistent result after apply: aws_secretsmanager_secret #16482
Comments
I'm also facing the same issue since 2 days onwards during azure resource deployment. can we get fix for this ? |
Same issue TF 0.12.29 |
… in resources Reference: #16482 Reference: #16796 Output from acceptance testing in AWS Commercial: ``` --- FAIL: TestAccAwsSecretsManagerSecret_policy (40.13s) # #18461 --- PASS: TestAccAwsSecretsManagerSecret_basic (19.14s) --- PASS: TestAccAwsSecretsManagerSecret_Description (28.90s) --- PASS: TestAccAwsSecretsManagerSecret_KmsKeyID (36.04s) --- PASS: TestAccAwsSecretsManagerSecret_RecoveryWindowInDays_Recreate (27.96s) --- PASS: TestAccAwsSecretsManagerSecret_RotationLambdaARN (103.44s) --- PASS: TestAccAwsSecretsManagerSecret_RotationRules (55.08s) --- PASS: TestAccAwsSecretsManagerSecret_Tags (48.81s) --- PASS: TestAccAwsSecretsManagerSecret_withNamePrefix (19.14s) --- PASS: TestAccAwsSecretsManagerSecretPolicy_basic (46.93s) --- PASS: TestAccAwsSecretsManagerSecretPolicy_blockPublicPolicy (49.17s) --- PASS: TestAccAwsSecretsManagerSecretPolicy_disappears (27.04s) --- PASS: TestAccAwsSecretsManagerSecretRotation_basic (54.74s) --- PASS: TestAccAwsSecretsManagerSecretVersion_Base64Binary (20.22s) --- PASS: TestAccAwsSecretsManagerSecretVersion_BasicString (19.64s) --- PASS: TestAccAwsSecretsManagerSecretVersion_VersionStages (42.20s) ``` Output from acceptance testing in AWS GovCloud (US): ``` --- FAIL: TestAccAwsSecretsManagerSecret_policy (41.26s) # #18461 --- PASS: TestAccAwsSecretsManagerSecret_basic (25.60s) --- PASS: TestAccAwsSecretsManagerSecret_Description (37.53s) --- PASS: TestAccAwsSecretsManagerSecret_KmsKeyID (45.10s) --- PASS: TestAccAwsSecretsManagerSecret_RecoveryWindowInDays_Recreate (37.67s) --- PASS: TestAccAwsSecretsManagerSecret_RotationLambdaARN (70.43s) --- PASS: TestAccAwsSecretsManagerSecret_RotationRules (58.87s) --- PASS: TestAccAwsSecretsManagerSecret_Tags (64.49s) --- PASS: TestAccAwsSecretsManagerSecret_withNamePrefix (23.75s) --- PASS: TestAccAwsSecretsManagerSecretPolicy_basic (49.66s) --- PASS: TestAccAwsSecretsManagerSecretPolicy_blockPublicPolicy (64.81s) --- PASS: TestAccAwsSecretsManagerSecretPolicy_disappears (29.34s) --- PASS: TestAccAwsSecretsManagerSecretRotation_basic (68.89s) --- PASS: TestAccAwsSecretsManagerSecretVersion_Base64Binary (21.89s) --- PASS: TestAccAwsSecretsManagerSecretVersion_BasicString (24.62s) --- PASS: TestAccAwsSecretsManagerSecretVersion_VersionStages (54.57s) ```
… in resources (#18462) Reference: #16482 Reference: #16796 Output from acceptance testing in AWS Commercial: ``` --- FAIL: TestAccAwsSecretsManagerSecret_policy (40.13s) # #18461 --- PASS: TestAccAwsSecretsManagerSecret_basic (19.14s) --- PASS: TestAccAwsSecretsManagerSecret_Description (28.90s) --- PASS: TestAccAwsSecretsManagerSecret_KmsKeyID (36.04s) --- PASS: TestAccAwsSecretsManagerSecret_RecoveryWindowInDays_Recreate (27.96s) --- PASS: TestAccAwsSecretsManagerSecret_RotationLambdaARN (103.44s) --- PASS: TestAccAwsSecretsManagerSecret_RotationRules (55.08s) --- PASS: TestAccAwsSecretsManagerSecret_Tags (48.81s) --- PASS: TestAccAwsSecretsManagerSecret_withNamePrefix (19.14s) --- PASS: TestAccAwsSecretsManagerSecretPolicy_basic (46.93s) --- PASS: TestAccAwsSecretsManagerSecretPolicy_blockPublicPolicy (49.17s) --- PASS: TestAccAwsSecretsManagerSecretPolicy_disappears (27.04s) --- PASS: TestAccAwsSecretsManagerSecretRotation_basic (54.74s) --- PASS: TestAccAwsSecretsManagerSecretVersion_Base64Binary (20.22s) --- PASS: TestAccAwsSecretsManagerSecretVersion_BasicString (19.64s) --- PASS: TestAccAwsSecretsManagerSecretVersion_VersionStages (42.20s) ``` Output from acceptance testing in AWS GovCloud (US): ``` --- FAIL: TestAccAwsSecretsManagerSecret_policy (41.26s) # #18461 --- PASS: TestAccAwsSecretsManagerSecret_basic (25.60s) --- PASS: TestAccAwsSecretsManagerSecret_Description (37.53s) --- PASS: TestAccAwsSecretsManagerSecret_KmsKeyID (45.10s) --- PASS: TestAccAwsSecretsManagerSecret_RecoveryWindowInDays_Recreate (37.67s) --- PASS: TestAccAwsSecretsManagerSecret_RotationLambdaARN (70.43s) --- PASS: TestAccAwsSecretsManagerSecret_RotationRules (58.87s) --- PASS: TestAccAwsSecretsManagerSecret_Tags (64.49s) --- PASS: TestAccAwsSecretsManagerSecret_withNamePrefix (23.75s) --- PASS: TestAccAwsSecretsManagerSecretPolicy_basic (49.66s) --- PASS: TestAccAwsSecretsManagerSecretPolicy_blockPublicPolicy (64.81s) --- PASS: TestAccAwsSecretsManagerSecretPolicy_disappears (29.34s) --- PASS: TestAccAwsSecretsManagerSecretRotation_basic (68.89s) --- PASS: TestAccAwsSecretsManagerSecretVersion_Base64Binary (21.89s) --- PASS: TestAccAwsSecretsManagerSecretVersion_BasicString (24.62s) --- PASS: TestAccAwsSecretsManagerSecretVersion_VersionStages (54.57s) ```
This has been released in version 3.36.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks! |
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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
Community Note
Terraform CLI and Terraform AWS Provider Version
Affected Resource(s)
aws_secretsmanager_secret
Terraform Configuration Files
Debug Output
N/A
Panic Output
N/A
Expected Behavior
The resource should be created.
Actual Behavior
Creating
aws_secretsmanager_secret
fails with:Steps to Reproduce
terraform apply
Important Factoids
References
There's plenty of those already for other resources. Looks like a generic solution for this would be a good idea.
aws_appmesh_virtual_service
throws "produced an unexpected new value for was present, but now absent" error. #15084The text was updated successfully, but these errors were encountered: