mirror of
https://github.com/farcasclaudiu/terraform-course.git
synced 2026-06-29 09:02:13 +03:00
fmt
This commit is contained in:
@@ -1,8 +1,18 @@
|
||||
variable "ENV" {}
|
||||
variable "INSTANCE_TYPE" { default = "t2.micro" }
|
||||
variable "PUBLIC_SUBNETS" { type = "list" }
|
||||
|
||||
variable "INSTANCE_TYPE" {
|
||||
default = "t2.micro"
|
||||
}
|
||||
|
||||
variable "PUBLIC_SUBNETS" {
|
||||
type = "list"
|
||||
}
|
||||
|
||||
variable "VPC_ID" {}
|
||||
variable "PATH_TO_PUBLIC_KEY" { default = "mykey.pub" }
|
||||
|
||||
variable "PATH_TO_PUBLIC_KEY" {
|
||||
default = "mykey.pub"
|
||||
}
|
||||
|
||||
data "aws_ami" "ubuntu" {
|
||||
most_recent = true
|
||||
|
||||
@@ -24,6 +24,7 @@ output "vpc_id" {
|
||||
description = "The ID of the VPC"
|
||||
value = "${module.main-vpc.vpc_id}"
|
||||
}
|
||||
|
||||
output "private_subnets" {
|
||||
description = "List of IDs of private subnets"
|
||||
value = ["${module.main-vpc.private_subnets}"]
|
||||
|
||||
Reference in New Issue
Block a user