diff --git a/main.tf b/main.tf index 5477f44..7eb4a04 100644 --- a/main.tf +++ b/main.tf @@ -127,6 +127,7 @@ output "password" { value = nonsensitive(random_password.winrm.result) } +/* module "windows" { source = "HappyPathway/image-pipeline/aws" project_name = "windows-image-pipeline-demo" @@ -146,19 +147,19 @@ module "windows" { build_environment_variables = [ for proxy_var in keys(local.proxy_env_vars) : { - name=proxy_var, - value=lookup(local.proxy_env_vars, proxy_var), - type = "PLAINTEXT" + name = proxy_var, + value = lookup(local.proxy_env_vars, proxy_var), + type = "PLAINTEXT" } ] ansible_repo = data.aws_codecommit_repository.ansible goss_repo = data.aws_codecommit_repository.goss goss_profile = "windows-base-test" - state = local.state_config - vpc_config = local.vpc_config - source_ami = "ami-012fffaddacaa52ff" # x86_64 compatible AMI - instance_type = "t2.xlarge" # x86_64 compatible instance type - + state = local.state_config + vpc_config = local.vpc_config + source_ami = "ami-012fffaddacaa52ff" # x86_64 compatible AMI + instance_type = "t2.xlarge" # x86_64 compatible instance type + lifecycle { prevent_destroy = true }