Skip to content
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

tests/fms: Configuration error in TestAccFMS_serial/Policy/cloudfrontDistribution #23953

Closed
anGie44 opened this issue Mar 30, 2022 · 2 comments · Fixed by #32860
Closed

tests/fms: Configuration error in TestAccFMS_serial/Policy/cloudfrontDistribution #23953

anGie44 opened this issue Mar 30, 2022 · 2 comments · Fixed by #32860
Labels
service/fms Issues and PRs that pertain to the fms service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Milestone

Comments

@anGie44
Copy link
Contributor

anGie44 commented Mar 30, 2022

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Current Test Output (in Organizations-only test Account):

=== RUN   TestAccFMS_serial/Policy/cloudfrontDistribution
    policy_test.go:57: Step 1/2 error: Error running pre-apply refresh: exit status 1
        
        Error: Value for unconfigurable attribute
        
          with aws_s3_bucket.test,
          on terraform_plugin_test.tf line 71, in resource "aws_s3_bucket" "test":
          71:   acl    = "private"
        
        Can't configure a value for "acl": its value will be decided automatically
        based on the result of applying this configuration.

Potential Fix

  • update test configuration to use aws_s3_bucket_acl resource instead
@github-actions github-actions bot added the service/s3 Issues and PRs that pertain to the s3 service. label Mar 30, 2022
@anGie44 anGie44 added tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. service/fms Issues and PRs that pertain to the fms service. and removed service/s3 Issues and PRs that pertain to the s3 service. labels Mar 30, 2022
@github-actions github-actions bot added this to the v5.12.0 milestone Aug 4, 2023
@github-actions
Copy link

This functionality has been released in v5.12.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. Thank you!

@github-actions
Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
service/fms Issues and PRs that pertain to the fms service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant