You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add support for specifying Azure resource groups for RSC features (#150)
* Update rubrik-polaris-sdk-for-go to v0.10.0-beta.2 (#152)
* Show diffs in the beta guide as HCL code (#155)
* Improve documentation for resource groups (#154)
* Bump the GH Actions Go compiler version to v1.22 (#156)
* Add account name and FQDN to the polaris_deployment data source (#157)
* Add support for Azure shared exocompute (#160)
* Update rubrik-polaris-sdk-for-go to v0.10.0-beta.5 (#165)
* Add changelog (#167)
* Add support for Azure archival locations (#168)
* Move changelog and upgrade guides to guides folder (#170)
* Fix Azure permission upgrade issue (#171)
* Update changelog (#172)
* Add Azure archival location data source (#173)
* Improve Azure documentation (#175)
* Improve documentation (#176)
* Update guides (#180)
* Update documentation (#184)
* Add support for cluster setup YAML (#186)
* Add data sources to look up cloud accounts (#188)
* Fix Azure acceptance test (#189)
* Add support for updating AWS archival location bucket tags (#187)
* Update changelog (#191)
-`storage_class` (String) AWS bucket storage class. Possible values are `STANDARD`, `STANDARD_IA`, `ONEZONE_IA`, `GLACIER_INSTANT_RETRIEVAL`, `GLACIER_DEEP_ARCHIVE` and `GLACIER_FLEXIBLE_RETRIEVAL`. Default value is `STANDARD_IA`.
Copy file name to clipboardexpand all lines: docs/data-sources/aws_cnp_artifacts.md
+98-6
Original file line number
Diff line number
Diff line change
@@ -3,18 +3,110 @@
3
3
page_title: "polaris_aws_cnp_artifacts Data Source - terraform-provider-polaris"
4
4
subcategory: ""
5
5
description: |-
6
-
6
+
The polaris_aws_archival_location data source is used to access information about
7
+
instance profiles and roles required by RSC for a specified feature set.
8
+
Permission Groups
9
+
Following is a list of features and their applicable permission groups. These are used
10
+
when specifying the feature set.
11
+
CLOUDNATIVEARCHIVAL
12
+
BASIC - Represents the basic set of permissions required to onboard the feature.
13
+
CLOUDNATIVEPROTECTION
14
+
BASIC - Represents the basic set of permissions required to onboard the feature.EXPORT_AND_RESTORE - Represents the set of permissions required for export and
15
+
restore operations.FILE_LEVEL_RECOVERY - Represents the set of permissions required for file-level
16
+
recovery operations.SNAPSHOT_PRIVATE_ACCESS - Represents the set of permissions required for private
17
+
access to disk snapshots.
18
+
CLOUDNATIVES3_PROTECTION
19
+
BASIC - Represents the basic set of permissions required to onboard the feature.
20
+
EXOCOMPUTE
21
+
BASIC - Represents the basic set of permissions required to onboard the feature.PRIVATE_ENDPOINTS - Represents the set of permissions required for usage of private
22
+
endpoints.RSC_MANAGED_CLUSTER - Represents the set of permissions required for the Rubrik-
23
+
managed Exocompute cluster.
24
+
RDS_PROTECTION
25
+
BASIC - Represents the basic set of permissions required to onboard the feature.
26
+
-> Note: When permission groups are specified, the BASIC permission group must
27
+
always be included.
7
28
---
8
29
9
30
# polaris_aws_cnp_artifacts (Data Source)
10
31
32
+
The `polaris_aws_archival_location` data source is used to access information about
33
+
instance profiles and roles required by RSC for a specified feature set.
11
34
35
+
## Permission Groups
36
+
Following is a list of features and their applicable permission groups. These are used
37
+
when specifying the feature set.
38
+
39
+
### CLOUD_NATIVE_ARCHIVAL
40
+
*`BASIC` - Represents the basic set of permissions required to onboard the feature.
41
+
42
+
### CLOUD_NATIVE_PROTECTION
43
+
*`BASIC` - Represents the basic set of permissions required to onboard the feature.
44
+
*`EXPORT_AND_RESTORE` - Represents the set of permissions required for export and
45
+
restore operations.
46
+
*`FILE_LEVEL_RECOVERY` - Represents the set of permissions required for file-level
47
+
recovery operations.
48
+
*`SNAPSHOT_PRIVATE_ACCESS` - Represents the set of permissions required for private
49
+
access to disk snapshots.
50
+
51
+
### CLOUD_NATIVE_S3_PROTECTION
52
+
*`BASIC` - Represents the basic set of permissions required to onboard the feature.
53
+
54
+
### EXOCOMPUTE
55
+
*`BASIC` - Represents the basic set of permissions required to onboard the feature.
56
+
*`PRIVATE_ENDPOINTS` - Represents the set of permissions required for usage of private
57
+
endpoints.
58
+
*`RSC_MANAGED_CLUSTER` - Represents the set of permissions required for the Rubrik-
59
+
managed Exocompute cluster.
60
+
61
+
### RDS_PROTECTION
62
+
*`BASIC` - Represents the basic set of permissions required to onboard the feature.
63
+
64
+
-> **Note:** When permission groups are specified, the `BASIC` permission group must
65
+
always be included.
12
66
13
67
## Example Usage
14
68
15
69
```terraform
70
+
# Permission groups defaults to BASIC.
71
+
data "polaris_aws_cnp_artifacts" "artifacts" {
72
+
feature {
73
+
name = "CLOUD_NATIVE_PROTECTION"
74
+
}
75
+
}
76
+
77
+
# Multiple permission groups. When permission groups are specified,
78
+
# the BASIC permission group must always be included.
79
+
data "polaris_aws_cnp_artifacts" "artifacts" {
80
+
feature {
81
+
name = "CLOUD_NATIVE_PROTECTION"
82
+
83
+
permission_groups = [
84
+
"BASIC",
85
+
"EXPORT_AND_RESTORE",
86
+
"FILE_LEVEL_RECOVERY",
87
+
]
88
+
}
89
+
}
90
+
91
+
# Multiple features with permission groups.
16
92
data "polaris_aws_cnp_artifacts" "artifacts" {
17
-
features = ["CLOUD_NATIVE_PROTECTION"]
93
+
feature {
94
+
name = "CLOUD_NATIVE_ARCHIVAL"
95
+
96
+
permission_groups = [
97
+
"BASIC",
98
+
]
99
+
}
100
+
101
+
feature {
102
+
name = "CLOUD_NATIVE_PROTECTION"
103
+
104
+
permission_groups = [
105
+
"BASIC",
106
+
"EXPORT_AND_RESTORE",
107
+
"FILE_LEVEL_RECOVERY",
108
+
]
109
+
}
18
110
}
19
111
```
20
112
@@ -27,11 +119,11 @@ data "polaris_aws_cnp_artifacts" "artifacts" {
27
119
28
120
### Optional
29
121
30
-
-`cloud` (String) AWS cloud type.
122
+
-`cloud` (String) AWS cloud type. Possible values are `STANDARD`, `CHINA` and `GOV`. Default value is `STANDARD`.
31
123
32
124
### Read-Only
33
125
34
-
-`id` (String) The ID of this resource.
126
+
-`id` (String) SHA-256 hash of the instance profile keys and the roleskeys.
35
127
-`instance_profile_keys` (Set of String) Instance profile keys for the RSC features.
36
128
-`role_keys` (Set of String) Role keys for the RSC features.
37
129
@@ -40,5 +132,5 @@ data "polaris_aws_cnp_artifacts" "artifacts" {
40
132
41
133
Required:
42
134
43
-
-`name` (String) Feature name.
44
-
-`permission_groups` (Set of String) Permission groups to assign to the feature.
135
+
-`name` (String) RSC feature name. Possible values are `CLOUD_NATIVE_ARCHIVAL`, `CLOUD_NATIVE_PROTECTION`, `CLOUD_NATIVE_S3_PROTECTION`, `EXOCOMPUTE` and `RDS_PROTECTION`.
136
+
-`permission_groups` (Set of String) RSC permission groups for the feature. Possible values are `BASIC`, `EXPORT_AND_RESTORE`, `FILE_LEVEL_RECOVERY`, `SNAPSHOT_PRIVATE_ACCESS`, `PRIVATE_ENDPOINT` and `RSC_MANAGED_CLUSTER`. For backwards compatibility, `[]` is interpreted as all applicable permission groups.
0 commit comments