Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit b1d7f0c

Browse files
authored
docs: fix bug in usage block (#205)
1 parent b8db797 commit b1d7f0c

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

modules/attachment/README.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,17 @@ module "create_scc_profile_attachment " {
2222
attachment_description = "My attachment description"
2323
attachment_schedule = "daily"
2424
# Configure the scope for the attachment - below scope will scan the whole account
25-
scope {
26-
environment = "ibm-cloud"
27-
properties {
28-
name = "scope-type"
29-
value = "account"
30-
}
31-
}
25+
scope = [{
26+
environment = "ibm-cloud"
27+
properties = [{
28+
name = "scope_type"
29+
value = "account"
30+
},
31+
{
32+
name = "scope_id"
33+
value = "<account-id>"
34+
}]
35+
}]
3236
}
3337
```
3438

0 commit comments

Comments
 (0)