Difference between revisions of "Shared config files"
Jump to navigation
Jump to search
(Created page with "shared_config_files - (Optional) List of paths to AWS shared config files. If not set, the default is [~/.aws/config]. A single value can also be set with the AWS_CONFIG_FILE...") |
|||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | {{lc}} | |
+ | shared_config_files - (Optional) List of paths to AWS shared config files. If not set, the default is [[~/.aws/config]]. A single value can also be set with the [[AWS_CONFIG_FILE]] environment variable. | ||
− | {{tf aws}} | + | {{tfc aws dynamic credentials example}} |
+ | |||
+ | * [[Dynamic Credentials with the AWS Provider]] | ||
+ | * [[shared_config_file]] | ||
+ | * [[AWS_CONFIG_FILE]] | ||
+ | |||
+ | == See also == | ||
+ | * {{tf aws}} | ||
+ | |||
+ | [[Category:AWS]] |
Latest revision as of 19:00, 20 February 2024
shared_config_files - (Optional) List of paths to AWS shared config files. If not set, the default is ~/.aws/config. A single value can also be set with the AWS_CONFIG_FILE environment variable.
variable "tfc_aws_dynamic_credentials" { description = "Object containing AWS dynamic credentials configuration" type = object({ default = object({ shared_config_file = string }) aliases = map(object({ shared_config_file = string })) }) } provider "aws" { shared_config_files = [var.tfc_aws_dynamic_credentials.default.shared_config_file] } provider "aws" { alias = "ALIAS1" shared_config_files = [var.tfc_aws_dynamic_credentials.aliases["ALIAS1"].shared_config_file] }
See also[edit]
- Terraform AWS: provider, resources, modules, data sources, VPC, IAM, Net, EC2, S3, Route53, ACM, CloudWatch, SES, RDS, ECS,
awscc, autoscaling, EKS
Advertising: