Merge pull request #9305 from hashicorp/azr-docs-fix-guide
HCL2: Update guide example to fix broken example
This commit is contained in:
commit
d3859cf592
|
@ -163,7 +163,7 @@ The above is equivalent to the following native syntax configuration:
|
||||||
|
|
||||||
```hcl
|
```hcl
|
||||||
source "amazon-ebs" "example" {
|
source "amazon-ebs" "example" {
|
||||||
tags {
|
tags = {
|
||||||
key = "value"
|
key = "value"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -64,7 +64,7 @@ A _block_ is a container for other content:
|
||||||
source "amazon-ebs" "example" {
|
source "amazon-ebs" "example" {
|
||||||
ami_name = "abc123"
|
ami_name = "abc123"
|
||||||
|
|
||||||
tags {
|
tags = {
|
||||||
# ...
|
# ...
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -63,7 +63,7 @@ source "amazon-ebs" "example" {
|
||||||
instance_type = "t2.micro"
|
instance_type = "t2.micro"
|
||||||
|
|
||||||
source_ami_filter {
|
source_ami_filter {
|
||||||
filters {
|
filters = {
|
||||||
virtualization-type = "hvm"
|
virtualization-type = "hvm"
|
||||||
name = "ubuntu/images/*ubuntu-xenial-16.04-amd64-server-*"
|
name = "ubuntu/images/*ubuntu-xenial-16.04-amd64-server-*"
|
||||||
root-device-type = "ebs"
|
root-device-type = "ebs"
|
||||||
|
|
Loading…
Reference in New Issue