mirror of
https://github.com/sidpalas/devops-directive-terraform-course.git
synced 2025-12-18 16:41:29 +00:00
Updates from bitrot livestream (#16)
- Remove minor version pin for postgres versions (i.e. 12.5 -> 12) - Update s3 config to use separate versioning and encryption terraform resources - Use bucket_prefix instead of bucket for bucket naming to avoid name conflicts Stream: https://youtu.be/KWwKPYuOGBw
This commit is contained in:
@@ -37,11 +37,11 @@ module "web_app_1" {
|
||||
source = "../web-app-module"
|
||||
|
||||
# Input Variables
|
||||
bucket_name = "web-app-1-devops-directive-web-app-data"
|
||||
bucket_prefix = "web-app-1-data"
|
||||
domain = "devopsdeployed.com"
|
||||
app_name = "web-app-1"
|
||||
environment_name = "production"
|
||||
instance_type = "t2.small"
|
||||
instance_type = "t2.micro"
|
||||
create_dns_zone = true
|
||||
db_name = "webapp1db"
|
||||
db_user = "foo"
|
||||
@@ -52,11 +52,11 @@ module "web_app_2" {
|
||||
source = "../web-app-module"
|
||||
|
||||
# Input Variables
|
||||
bucket_name = "web-app-2-devops-directive-web-app-data"
|
||||
bucket_prefix = "web-app-2-data"
|
||||
domain = "anotherdevopsdeployed.com"
|
||||
app_name = "web-app-2"
|
||||
environment_name = "production"
|
||||
instance_type = "t2.small"
|
||||
instance_type = "t2.micro"
|
||||
create_dns_zone = true
|
||||
db_name = "webapp2db"
|
||||
db_user = "bar"
|
||||
|
||||
Reference in New Issue
Block a user