Difference between revisions of "Dynamic Credentials with the AWS Provider"

From wikieduonline
Jump to navigation Jump to search
 
(33 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
* https://developer.hashicorp.com/terraform/cloud-docs/workspaces/dynamic-provider-credentials/aws-configuration
  
* TFC_AWS_PROVIDER_AUTH
+
* https://app.terraform.io
  
* TFC_AWS_RUN_ROLE_ARN
+
* [[Bootstrapping trust between a TFC workspace and AWS]]
  
  
 +
== Example ==
  
  variable "tfc_aws_dynamic_credentials" {
+
  {{tfc_aws_dynamic_credentials example}}
  description = "Object containing AWS dynamic credentials configuration"
 
  type = object({
 
    default = object({
 
      shared_config_file = string
 
    })
 
    aliases = map(object({
 
      shared_config_file = string
 
    }))
 
  })
 
}
 
  
 +
== Related ==
 +
* <code>[[aws_iam_access_key]]</code>
 +
* <code>[[AWS_SHARED_CREDENTIALS_FILE]]</code>
 +
* <code>[[AWS_CONFIG_FILE]]</code>
 +
* <code>[[TFC_AWS_PROVIDER_AUTH]]</code>
 +
* <code>[[TFC_AWS_RUN_ROLE_ARN]]</code>
 +
* <code>[[OIDC Identity Provider]]</code>
 +
* <code>[[Creating an IAM OIDC provider for your EKS cluster]]</code>
 +
* <code>[[aws iam create-open-id-connect-provider --url]]</code>
 +
* <code>[[aws.workload.identity]], [[TFC_AWS_WORKLOAD_IDENTITY_AUDIENCE]]</code>
 +
* [[Terraform Dynamic Provider Credentials]]
 +
* [[Terraform module: Github-oidc-provider]]
  
provider "aws" {
+
== See also ==
  shared_config_files = [var.tfc_aws_dynamic_credentials.default.shared_config_file]
+
* {{TFC}}
}
+
 
+
[[Category:AWS]]
provider "aws" {
+
[[Category:TFC]]
  alias = "ALIAS1"
 
  shared_config_files = [var.tfc_aws_dynamic_credentials.aliases["ALIAS1"].shared_config_file]
 
}
 

Latest revision as of 13:25, 12 June 2024

Advertising: