Fix CloudInit doc format and give better example
This commit is contained in:
parent
3701342716
commit
a4568c596e
|
@ -45,6 +45,13 @@ resource "template_cloudinit_config" "config" {
|
|||
content = "ffbaz"
|
||||
}
|
||||
}
|
||||
|
||||
# Start an AWS instance with the cloudinit config as user data
|
||||
resource "aws_instance" "web" {
|
||||
ami = "ami-d05e75b8"
|
||||
instance_type = "t2.micro"
|
||||
user_data = "${template_cloudinit_config.config.rendered}"
|
||||
}
|
||||
```
|
||||
|
||||
## Argument Reference
|
||||
|
|
Loading…
Reference in New Issue