Update HCL source example block (#10720)
This commit is contained in:
parent
a906a1b426
commit
10a5b0e7d8
|
@ -29,7 +29,7 @@ import (
|
||||||
// HCL config example:
|
// HCL config example:
|
||||||
//
|
//
|
||||||
// ```HCL
|
// ```HCL
|
||||||
// source "example" "amazon-ebs"{
|
// source "amazon-ebs" "example" {
|
||||||
// assume_role {
|
// assume_role {
|
||||||
// role_arn = "arn:aws:iam::ACCOUNT_ID:role/ROLE_NAME"
|
// role_arn = "arn:aws:iam::ACCOUNT_ID:role/ROLE_NAME"
|
||||||
// session_name = "SESSION_NAME"
|
// session_name = "SESSION_NAME"
|
||||||
|
|
|
@ -8,7 +8,7 @@ Usage example:
|
||||||
HCL config example:
|
HCL config example:
|
||||||
|
|
||||||
```HCL
|
```HCL
|
||||||
source "example" "amazon-ebs"{
|
source "amazon-ebs" "example" {
|
||||||
assume_role {
|
assume_role {
|
||||||
role_arn = "arn:aws:iam::ACCOUNT_ID:role/ROLE_NAME"
|
role_arn = "arn:aws:iam::ACCOUNT_ID:role/ROLE_NAME"
|
||||||
session_name = "SESSION_NAME"
|
session_name = "SESSION_NAME"
|
||||||
|
|
Loading…
Reference in New Issue