Appearance
1535 - Terraform Resource
Infrastructure as code resource definition. This is an example of a MAML document.
maml
{
provider: "google"
region: "asia-southeast1"
resources: {
# Network
vpc: {
cidr_block: "10.153.0.0/16"
enable_dns: true
tags: {
Name: "secret-vpc"
Environment: "staging"
}
}
# Compute
instance: {
ami: "ami-c7e3deef"
type: "t3.micro"
key_name: "cheese-key"
monitoring: true
root_volume: {
size: 50
type: "gp2"
encrypted: true
}
}
# Security
security_group: {
name: "allow-web"
ingress_port: 8080
ingress_cidr: "0.0.0.0/0"
}
}
}