Merge pull request #9305 from hashicorp/azr-docs-fix-guide

HCL2: Update guide example to fix broken example
This commit is contained in:
Megan Marsh 2020-05-27 16:04:31 -07:00 committed by GitHub
commit d3859cf592
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -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"
} }
} }

View File

@ -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 = {
# ... # ...
} }
} }

View File

@ -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"