forked from futurice/terraform-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request futurice#30 from jre21:update_modules
commit fbd1fef Author: Jacob Emmert-Aronson <jacob@mlaronson.com> Date: Mon May 31 17:27:14 2021 -0700 Use the AWS provider's new default_tags argument commit 821d30c Author: Jacob Emmert-Aronson <jacob@mlaronson.com> Date: Mon May 31 15:58:21 2021 -0700 Update dependent modules to latest
- Loading branch information
Showing
7 changed files
with
27 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,31 @@ | ||
provider "aws" { | ||
} | ||
|
||
terraform { | ||
backend "s3" { | ||
bucket = "mybucket" | ||
key = "wordpress" | ||
} | ||
required_providers { | ||
aws = { | ||
source = "hashicorp/aws" | ||
version = "~> 3.38" | ||
} | ||
random = { | ||
source = "hashicorp/random" | ||
version = "~> 3.0" | ||
} | ||
} | ||
} | ||
|
||
provider "aws" { | ||
default_tags { | ||
tags = var.tags | ||
} | ||
} | ||
|
||
provider "aws" { | ||
alias = "us_east_1" | ||
region = "us-east-1" | ||
} | ||
|
||
provider "random" { | ||
default_tags { | ||
tags = var.tags | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters