hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.78k stars 9.14k forks source link

resource/aws_secretsmanager_secret_rotation: Acceptance test `TestAccSecretsManagerSecretRotation_scheduleExpression` does not test change #35023

Open gdavison opened 9 months ago

gdavison commented 9 months ago

Description

The acceptance test TestAccSecretsManagerSecretRotation_scheduleExpression does not test an update operation, because the two parameter values are the same.

However, when using different values, the test returns the following error:

Error: updating Secrets Manager Secret Rotation (*****): InvalidRequestException: A previous rotation isn't complete. That rotation will be reattempted.

In-progress rotations should be cancelled before attempting to configure new rotation parameters

References

No response

Would you like to implement a fix?

None

github-actions[bot] commented 9 months ago

Community Note

Voting for Prioritization

Volunteering to Work on This Issue