Skip to content

Commit 0fdc55d

Browse files
committed
update domain
1 parent d276ae7 commit 0fdc55d

File tree

9 files changed

+16
-17
lines changed

9 files changed

+16
-17
lines changed

.github/workflows/terraform.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
name: "Terraform"
22

33
on:
4-
# Uncomment to enable staging deployment
5-
# push:
6-
# branches:
7-
# - main
4+
push:
5+
branches:
6+
- main
87
release:
98
types: [published]
109
pull_request:

03-basics/web-app/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,12 +182,12 @@ resource "aws_lb" "load_balancer" {
182182
}
183183

184184
resource "aws_route53_zone" "primary" {
185-
name = "mysuperawesomesite.com"
185+
name = "devopsdeployed.com"
186186
}
187187

188188
resource "aws_route53_record" "root" {
189189
zone_id = aws_route53_zone.primary.zone_id
190-
name = "mysuperawesomesite.com"
190+
name = "devopsdeployed.com"
191191
type = "A"
192192

193193
alias {
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
bucket_name = "devops-directive-web-app-data"
2-
domain = "mysuperawesomesite.com"
2+
domain = "devopsdeployed.com"
33
db_name = "mydb"
44
db_user = "foo"
5-
# db_pass = "foobarbaz"
5+
# db_pass = "foobarbaz"

06-organization-and-modules/web-app/main.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ provider "aws" {
2222
}
2323

2424
variable "db_pass_1" {
25-
description = "password for database #2"
25+
description = "password for database #1"
2626
type = string
2727
sensitive = true
2828
}
@@ -38,7 +38,7 @@ module "web_app_1" {
3838

3939
# Input Variables
4040
bucket_name = "web-app-1-devops-directive-web-app-data"
41-
domain = "mysuperawesomesite.com"
41+
domain = "devopsdeployed.com"
4242
app_name = "web-app-1"
4343
environment_name = "production"
4444
instance_type = "t2.small"
@@ -53,7 +53,7 @@ module "web_app_2" {
5353

5454
# Input Variables
5555
bucket_name = "web-app-2-devops-directive-web-app-data"
56-
domain = "myothersuperawesomesite.com"
56+
domain = "anotherdevopsdeployed.com"
5757
app_name = "web-app-2"
5858
environment_name = "production"
5959
instance_type = "t2.small"

07-managing-multiple-environments/file-structure/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
- Note about using separate AWS projects (avoids prefix issues, improved IAM control)
1+
- Note about using separate AWS accounts (avoids prefix issues, improved IAM control)
22
- Cover this in advanced section?
33

44
```

07-managing-multiple-environments/file-structure/global/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ provider "aws" {
2323

2424
# Route53 zone is shared across staging and production
2525
resource "aws_route53_zone" "primary" {
26-
name = "mysuperawesomesite.com"
27-
}
26+
name = "devopsdeployed.com"
27+
}

07-managing-multiple-environments/file-structure/production/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ module "web_app" {
3636

3737
# Input Variables
3838
bucket_name = "devops-directive-web-app-data-${local.environment_name}"
39-
domain = "mysuperawesomesite.com"
39+
domain = "devopsdeployed.com"
4040
environment_name = local.environment_name
4141
instance_type = "t2.small"
4242
create_dns_zone = false

07-managing-multiple-environments/file-structure/staging/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ module "web_app" {
3636

3737
# Input Variables
3838
bucket_name = "devops-directive-web-app-data-${local.environment_name}"
39-
domain = "mysuperawesomesite.com"
39+
domain = "devopsdeployed.com"
4040
environment_name = local.environment_name
4141
instance_type = "t2.micro"
4242
create_dns_zone = false

07-managing-multiple-environments/workspaces/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ module "web_app" {
3636

3737
# Input Variables
3838
bucket_name = "devops-directive-web-app-data-${local.environment_name}"
39-
domain = "mysuperawesomesite.com"
39+
domain = "devopsdeployed.com"
4040
environment_name = local.environment_name
4141
instance_type = "t2.small"
4242
create_dns_zone = terraform.workspace == "production" ? true : false

0 commit comments

Comments
 (0)