Difference between revisions of "Providers.tf"
Jump to navigation
Jump to search
Line 8: | Line 8: | ||
profile = "your_profile" | profile = "your_profile" | ||
} | } | ||
− | + | ||
provider "[[template]]" { | provider "[[template]]" { | ||
version = "~> 2.1" | version = "~> 2.1" | ||
} | } | ||
+ | |||
+ | provider "aws" { | ||
+ | region = var.region | ||
+ | version = ">= 0.13" | ||
+ | [[assume_role]] { | ||
+ | [[role_arn]] = "$(AWS_ROLE_ARN)" | ||
+ | } | ||
+ | } | ||
Revision as of 12:29, 17 February 2022
- TOMERGE: Terraform provider: AWS
provider "aws" { version = "~> 3.38.0" region = "us-west-2" profile = "your_profile" }
provider "template" { version = "~> 2.1" }
provider "aws" { region = var.region version = ">= 0.13" assume_role { role_arn = "$(AWS_ROLE_ARN)" } }
Related terms
Error: no valid credential sources for S3 Backend found
provider.tf
- Backend:
backend.tf
terraform validate
See also
- Terraform configuration files, Terraform state files:
.tf
,.tfvars
,main.tf, outputs.tf
,variables.tf
,.terraform.d/
,terraform init
,providers.tf
,.terraform/
,terraform.tfstate
,.terraform.lock.hcl
,terraform.tfstate.d, override.tf, versions.tf
- Terraform provider:
AWS, Cloudflare
,GoogleWorkspace
,Kubernetes, Helm, .terraform/providers/
,template
,tfe
,providers.tf, dns, hashicorp/, hashicorp/tls
, Terraform provider versioning, Libvirt, datadog,terraform providers, required_version, onepassword
,rancher2
,time, terraform.tf
Advertising: