terraform-provider-vault icon indicating copy to clipboard operation
terraform-provider-vault copied to clipboard

[Enhancement]: Add max_retries to vault_aws_auth_backend_client resource

Open zujko opened this issue 2 years ago • 0 comments

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

zujko avatar Nov 01 '23 23:11 zujko