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

r/backup_vault_policy - new resource #16112

Merged
merged 5 commits into from
Nov 13, 2020

Conversation

DrFaust92
Copy link
Collaborator

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment 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 pull request followers and do not help prioritize the request

Closes #9425

Release note for CHANGELOG:

resource_aws_backup_vault_policy - new resource

Output from acceptance testing:

$ make testacc TESTARGS='-run=TestAccAwsBackupVaultPolicy_'
--- PASS: TestAccAwsBackupVaultPolicy_disappears (42.10s)
--- PASS: TestAccAwsBackupVaultPolicy_basic (83.42s)

@DrFaust92 DrFaust92 requested a review from a team as a code owner November 10, 2020 09:26
@ghost ghost added size/XL Managed by automation to categorize the size of a PR. provider Pertains to the provider itself, rather than any interaction with AWS. service/backup Issues and PRs that pertain to the backup service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. labels Nov 10, 2020
@DrFaust92 DrFaust92 added the new-resource Introduces a new resource. label Nov 10, 2020
Copy link
Contributor

@ewbankkit ewbankkit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

$ make testacc TEST=./aws/ TESTARGS='-run=TestAccAwsBackupVaultPolicy_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAwsBackupVaultPolicy_ -timeout 120m
=== RUN   TestAccAwsBackupVaultPolicy_basic
=== PAUSE TestAccAwsBackupVaultPolicy_basic
=== RUN   TestAccAwsBackupVaultPolicy_disappears
=== PAUSE TestAccAwsBackupVaultPolicy_disappears
=== CONT  TestAccAwsBackupVaultPolicy_basic
=== CONT  TestAccAwsBackupVaultPolicy_disappears
--- PASS: TestAccAwsBackupVaultPolicy_disappears (14.11s)
--- PASS: TestAccAwsBackupVaultPolicy_basic (26.71s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	26.768s

@breathingdust
Copy link
Member

LGTM 🚀 Thanks @DrFaust92

Verified Acceptance Tests in Commercial (us-west-2)

make testacc TEST=./aws/ TESTARGS='-run=TestAccAwsBackupVaultPolicy_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAwsBackupVaultPolicy_ -timeout 120m
=== RUN   TestAccAwsBackupVaultPolicy_basic
=== PAUSE TestAccAwsBackupVaultPolicy_basic
=== RUN   TestAccAwsBackupVaultPolicy_disappears
=== PAUSE TestAccAwsBackupVaultPolicy_disappears
=== CONT  TestAccAwsBackupVaultPolicy_basic
=== CONT  TestAccAwsBackupVaultPolicy_disappears
--- PASS: TestAccAwsBackupVaultPolicy_disappears (13.43s)
--- PASS: TestAccAwsBackupVaultPolicy_basic (24.74s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	26.679s

Verified Acceptance Tests in GovCloud (us-gov-west-1)

make testacc TEST=./aws/ TESTARGS='-run=TestAccAwsBackupVaultPolicy_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAwsBackupVaultPolicy_ -timeout 120m
=== RUN   TestAccAwsBackupVaultPolicy_basic
=== PAUSE TestAccAwsBackupVaultPolicy_basic
=== RUN   TestAccAwsBackupVaultPolicy_disappears
=== PAUSE TestAccAwsBackupVaultPolicy_disappears
=== CONT  TestAccAwsBackupVaultPolicy_basic
=== CONT  TestAccAwsBackupVaultPolicy_disappears
--- PASS: TestAccAwsBackupVaultPolicy_disappears (9.27s)
--- PASS: TestAccAwsBackupVaultPolicy_basic (17.13s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	19.067s

@breathingdust breathingdust added this to the v3.16.0 milestone Nov 13, 2020
@breathingdust breathingdust merged commit 280cad8 into hashicorp:master Nov 13, 2020
breathingdust added a commit that referenced this pull request Nov 13, 2020
@ghost
Copy link

ghost commented Nov 18, 2020

This has been released in version 3.16.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!

@ghost
Copy link

ghost commented Dec 13, 2020

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!

@ghost ghost locked as resolved and limited conversation to collaborators Dec 13, 2020
@DrFaust92 DrFaust92 deleted the r/backup_vault_policy branch April 15, 2021 10:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
new-resource Introduces a new resource. provider Pertains to the provider itself, rather than any interaction with AWS. service/backup Issues and PRs that pertain to the backup service. size/XL Managed by automation to categorize the size of a PR. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AWS Backup Vault: Ability to attach a Vault Access Policy
3 participants