terraform-provider-vault
terraform-provider-vault copied to clipboard
[Enhancement]: Add max_retries to vault_aws_auth_backend_client resource
Description
The vault_aws_auth_backend_client does not have the max_retries argument to configure retry behavior of the AWS SDK as outlined in the API docs.
This should be added to the resource to align with the AWS client config API /auth/aws/config/client
Affected Resource(s) and/or Data Source(s)
vault_aws_auth_backend_client
Potential Terraform Configuration
resource "vault_auth_backend" "example" {
type = "aws"
}
resource "vault_aws_auth_backend_client" "example" {
backend = vault_auth_backend.example.path
access_key = "INSERT_AWS_ACCESS_KEY"
secret_key = "INSERT_AWS_SECRET_KEY"
max_retries = 0
}
References
https://registry.terraform.io/providers/hashicorp/vault/latest/docs/resources/aws_auth_backend_client https://developer.hashicorp.com/vault/api-docs/auth/aws#configure-client
Would you like to implement a fix?
Yes