Updated 06.1 Data функция decort_resgroup: получение информации о ресурсной группе. (markdown)
@@ -39,7 +39,7 @@ _Data source_ функция **decort_resgroup** принимает следую
|
|||||||
```
|
```
|
||||||
data "decort_resgroup" "target_rg" {
|
data "decort_resgroup" "target_rg" {
|
||||||
name = "test" # this is the name of pre-existing resource group
|
name = "test" # this is the name of pre-existing resource group
|
||||||
account_id = "MyAccount" # this is the ID of the account, where resource group named "test" is found
|
account_id = 100 # this is the ID of the account, where resource group named "test" is found
|
||||||
}
|
}
|
||||||
# Once the above directive completes, resource group ID will be accessible as
|
# Once the above directive completes, resource group ID will be accessible as
|
||||||
# "${data.decort_resgroup.target_rg.id}"
|
# "${data.decort_resgroup.target_rg.id}"
|
||||||
|
|||||||
Reference in New Issue
Block a user