provider.tf

From wikieduonline
Revision as of 22:27, 21 October 2021 by Welcome (talk | contribs) (→‎Examples)
Jump to navigation Jump to search

Examples

AWS example:

provider "aws" {
  region = "us-west-2"
  profile = "your-profile-name"
}

Google Cloud example:

provider "google" {
 region  = "us-central1"
 project = "your-project-name"
}


Backend

https://www.terraform.io/docs/language/settings/backends/s3.html#example-configuration
terraform {
  backend "s3" {
    bucket = "mybucket"
    key    = "path/to/my/key"
    region = "us-east-1"
  }
}

Related terms

See also

Advertising: