-
Notifications
You must be signed in to change notification settings - Fork 121
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
awscc_secretsmanager_secret fail validation Exception: [REPLACE Operation] noSuchPath in β source, path provided: //GenerateSecretString/ExcludeLowercase #1021
Comments
This is an upstream issue. Out of curiosity, what would you expect to happen in this case - a secret would have been generated on the initial Would you expect this change to overwrite the previously created secret? |
From reading the Cfn schema, |
|
relates to #1149 |
Community Note
Terraform CLI and Terraform AWS Cloud Control Provider Version
Affected Resource(s)
Terraform v1.5.0
on darwin_arm64
provider registry.terraform.io/hashicorp/awscc v0.53.0
awscc_secretsmanager_secret
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Debug Output
Error: AWS SDK Go Service Operation Unsuccessful
β
β with awscc_secretsmanager_secret.gen_secret,
β on secretsmanager_secret_generate_secret.tf line 1, in resource "awscc_secretsmanager_secret" "gen_secret":
β 1: resource "awscc_secretsmanager_secret" "gen_secret" {
β
β Calling Cloud Control API service UpdateResource operation returned: operation error CloudControl: UpdateResource, https response error
β StatusCode: 400, RequestID: 6902774e-c4ee-41e3-83bd-fd9380e3ee71, api error ValidationException: [REPLACE Operation] noSuchPath in
β source, path provided: //GenerateSecretString/ExcludeLowercase
Panic Output
Expected Behavior
Update the resource correctly
Actual Behavior
Failed to update from
to
Unable to pick up the path provided: //GenerateSecretString/ExcludeLowercase
Steps to Reproduce
Terraform Plan
Terraform Apply
Resource provision
Update
generate_secret_string = {
exclude_lowercase = true
}
to
generate_secret_string = {
exclude_lowercase = false
}
Terraform Plan
terraform apply
Important Factoids
References
Similar issue: #999
Statefile:
The text was updated successfully, but these errors were encountered: