-
Notifications
You must be signed in to change notification settings - Fork 10
Added Backend Configuration to Terraform #595
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Changes from 17 commits
6bbd79f
1787a62
ed18fd1
f1ca598
5053087
634f410
62e78fc
7fe1ef9
c6193bd
3854524
26c6ad2
7b97c82
fe5a678
034cc6c
2bb6e52
35bc95e
59df629
c17ac10
1e1504a
aefc216
1191f80
b6ebd29
8500ee6
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
bucket = "shift3-terraform-state" | ||
key = "test-staging-boilerplate-client-react/terraform.tfstate" | ||
region = "us-west-2" | ||
profile = "shift3" |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
web_domain_name = "ar-test-development.shift3sandbox.com" | ||
alexrdrgz marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
web_domain_name = "ar-test-production.shift3sandbox.com" |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
bucket = "shift3-terraform-state" | ||
key = "test-production-boilerplate-client-react/terraform.tfstate" | ||
region = "us-west-2" | ||
profile = "shift3" |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
bucket = "shift3-terraform-state" | ||
key = "test-staging-boilerplate-client-react/terraform.tfstate" | ||
region = "us-west-2" | ||
profile = "shift3" | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
web_domain_name = "ar-test-staging.shift3sandbox.com" |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
provider "aws" { | ||
profile = var.aws_profile | ||
region = var.aws_region | ||
} | ||
|
||
terraform { | ||
backend "s3" {} | ||
} | ||
|
||
locals { | ||
workspace_name = terraform.workspace | ||
} | ||
|
||
module "cloudfront" { | ||
source = "git@github.com:Shift3/terraform-modules.git//modules/aws/cloudfront" | ||
web_domain_name = var.web_domain_name | ||
profile = var.aws_profile | ||
secure_response_headers_id = var.secure_response_headers_id | ||
route53_zone = var.route53_zone | ||
environment = var.environment | ||
} |
This file was deleted.
This file was deleted.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is
terra:init-wrks
needed here? Was this added to test?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah and for the pre-provision