Skip to content

Commit db811d9

Browse files
committed
doc: IAM resources require beta enrolment
At the time of this commit, as a prerequisite to using the IAM, the accounts must be part of the feature beta. This adds a banner on affected resources and data sources.
1 parent 4e06748 commit db811d9

5 files changed

+16
-2
lines changed

Diff for: website/docs/d/iam_policies.html.markdown

+3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ subcategory : "Account Management"
66

77
Use this data source to list the existing IAM policies of an account.
88

9+
## Important
10+
-> Using this resource requires that the account is enrolled in the OVHcloud [IAM beta](https://labs.ovhcloud.com/en/iam/)
11+
912
## Example Usage
1013

1114
```hcl

Diff for: website/docs/d/iam_policy.html.markdown

+3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ subcategory : "Account Management"
66

77
Use this data source to retrieve am IAM policy.
88

9+
## Important
10+
-> Using this resource requires that the account is enrolled in the OVHcloud [IAM beta](https://labs.ovhcloud.com/en/iam/)
11+
912
## Example Usage
1013

1114
```hcl

Diff for: website/docs/d/iam_reference_actions.html.markdown

+3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ subcategory : "Account Management"
66

77
Use this data source to list the IAM action associated with a resource type.
88

9+
## Important
10+
-> Using this resource requires that the account is enrolled in the OVHcloud [IAM beta](https://labs.ovhcloud.com/en/iam/)
11+
912
## Example Usage
1013

1114
```hcl

Diff for: website/docs/d/iam_reference_resource_type.markdown

+3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ subcategory : "Account Management"
66

77
Use this data source to list all the IAM resource types.
88

9+
## Important
10+
-> Using this resource requires that the account is enrolled in the OVHcloud [IAM beta](https://labs.ovhcloud.com/en/iam/)
11+
912
## Example Usage
1013

1114
```hcl

Diff for: website/docs/r/iam_policy.html.markdown

+4-2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ subcategory : "Account Management"
66

77
Creates an IAM policy.
88

9+
## Important
10+
-> Using this resource requires that the account is enrolled in the OVHcloud [IAM beta](https://labs.ovhcloud.com/en/iam/)
11+
12+
913
## Example Usage
1014

1115
```hcl
@@ -31,8 +35,6 @@ resource "ovh_iam_policy" "manager" {
3135
"account:apiovh:*",
3236
]
3337
}
34-
35-
3638
```
3739

3840
## Argument Reference

0 commit comments

Comments
 (0)