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.74k stars 9.09k forks source link

[New Resource]: Support for AWS Backup "logically air-gapped vault" #38768

Open rymancl opened 1 month ago

rymancl commented 1 month ago

Description

Announcement from AWS: https://aws.amazon.com/about-aws/whats-new/2024/08/general-availability-aws-backup-logically-air-gapped-vault/

Dev Guide: https://docs.aws.amazon.com/aws-backup/latest/devguide/logicallyairgappedvault.html

Blog Post: https://aws.amazon.com/blogs/storage/building-cyber-resiliency-with-aws-backup-logically-air-gapped-vault/

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

Potential Terraform Configuration

resource "aws_lag_backup_vault" "example" {
  name = "example_lag_backup_vault"
}

References

AWS CLI [Create]: https://awscli.amazonaws.com/v2/documentation/api/latest/reference/backup/create-logically-air-gapped-backup-vault.html

Go SDK [Create]: https://pkg.go.dev/github.com/aws/aws-sdk-go-v2/service/backup#Client.CreateLogicallyAirGappedBackupVault

Looks like there is no special API for [Delete] and it used the standard DeleteBackupVault: https://pkg.go.dev/github.com/aws/aws-sdk-go-v2/service/backup#Client.DeleteBackupVault

Would you like to implement a fix?

No

github-actions[bot] commented 1 month ago

Community Note

Voting for Prioritization

Volunteering to Work on This Issue

aristosvo commented 1 month ago

I would like to implement this. But hey, open to any kind of collaboration! 💪

~Update: Ran into an issue, VaultState is not exposed on Describe/List actions, just on CreateLogicallyAirGappedBackupVaultOutput. This makes implementation of this resource with the SDK at this moment in time impossible.~

~Update 2: Combined Go SDK fix branch and feature branch on the Terraform Provider are currently working, but are not releasable as such. The AWS SDK team has raised an internal issue towards Backup team.~