mirror of
https://github.com/sidpalas/devops-directive-terraform-course.git
synced 2025-12-10 12:51:14 +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:
@@ -35,10 +35,10 @@ module "web_app" {
|
||||
source = "../../06-organization-and-modules/web-app-module"
|
||||
|
||||
# Input Variables
|
||||
bucket_name = "devops-directive-web-app-data-${local.environment_name}"
|
||||
bucket_prefix = "web-app-data-${local.environment_name}"
|
||||
domain = "devopsdeployed.com"
|
||||
environment_name = local.environment_name
|
||||
instance_type = "t2.small"
|
||||
instance_type = "t2.micro"
|
||||
create_dns_zone = terraform.workspace == "production" ? true : false
|
||||
db_name = "${local.environment_name}mydb"
|
||||
db_user = "foo"
|
||||
|
||||
Reference in New Issue
Block a user