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.76k stars 9.11k forks source link

[Enhancement]: r/aws_backup_vault: Wait for available status during creation #39121

Open jar-b opened 3 weeks ago

jar-b commented 3 weeks ago

Description

The DescribeBackupVault API now returns two new fields - VaultType and VaultState. The latter can be used to implement waiting logic which ensures the vault is in an available state (not failed) before returning from the create method.

Affected Resource(s) and/or Data Source(s)

Potential Terraform Configuration

resource "aws_backup_vault" "example" {
  # arguments are unchanged, but `vault_type` and `vault_status` should
  # now be computed attributes set on the resource.
}

References

Would you like to implement a fix?

None

github-actions[bot] commented 3 weeks ago

Community Note

Voting for Prioritization

Volunteering to Work on This Issue