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
Copy file name to clipboardExpand all lines: docs/data-sources/namespace.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,6 +71,7 @@ output "namespace" {
71
71
-`endpoints` (Attributes) The endpoints for the namespace. (see [below for nested schema](#nestedatt--endpoints))
72
72
-`limits` (Attributes) The limits set on the namespace currently. (see [below for nested schema](#nestedatt--limits))
73
73
-`name` (String) The name of the namespace.
74
+
-`namespace_lifecycle` (Attributes) The lifecycle settings for the namespace. (see [below for nested schema](#nestedatt--namespace_lifecycle))
74
75
-`regions` (List of String) The list of regions that this namespace is available in. If more than one region is specified, this namespace is a Multi-region Namespace, which is currently unsupported by the Terraform provider.
75
76
-`retention_days` (Number) The number of days to retain workflow history. Any changes to the retention period will be applied to all new running workflows.
76
77
-`state` (String) The current state of the namespace.
@@ -132,3 +133,11 @@ Read-Only:
132
133
Read-Only:
133
134
134
135
-`actions_per_second_limit` (Number) The number of actions per second (APS) that is currently allowed for the namespace. The namespace may be throttled if its APS exceeds the limit.
136
+
137
+
138
+
<aid="nestedatt--namespace_lifecycle"></a>
139
+
### Nested Schema for `namespace_lifecycle`
140
+
141
+
Read-Only:
142
+
143
+
-`enable_delete_protection` (Boolean) If true, delete protection is enabled for the namespace. This means that the namespace cannot be deleted until this is set to false.
Copy file name to clipboardExpand all lines: docs/data-sources/namespaces.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,6 +62,7 @@ Read-Only:
62
62
-`id` (String) The unique identifier of the namespace across all Temporal Cloud tenants.
63
63
-`limits` (Attributes) The limits set on the namespace currently. (see [below for nested schema](#nestedatt--namespaces--limits))
64
64
-`name` (String) The name of the namespace.
65
+
-`namespace_lifecycle` (Attributes) The lifecycle settings for the namespace. (see [below for nested schema](#nestedatt--namespaces--namespace_lifecycle))
65
66
-`regions` (List of String) The list of regions that this namespace is available in. If more than one region is specified, this namespace is a Multi-region Namespace, which is currently unsupported by the Terraform provider.
66
67
-`retention_days` (Number) The number of days to retain workflow history. Any changes to the retention period will be applied to all new running workflows.
67
68
-`state` (String) The current state of the namespace.
@@ -123,3 +124,11 @@ Read-Only:
123
124
Read-Only:
124
125
125
126
-`actions_per_second_limit` (Number) The number of actions per second (APS) that is currently allowed for the namespace. The namespace may be throttled if its APS exceeds the limit.
### Nested Schema for `namespaces.namespace_lifecycle`
131
+
132
+
Read-Only:
133
+
134
+
-`enable_delete_protection` (Boolean) If true, delete protection is enabled for the namespace. This means that the namespace cannot be deleted until this is set to false.
-`certificate_filters` (Attributes List) A list of filters to apply to client certificates when initiating a connection Temporal Cloud. If present, connections will only be allowed from client certificates whose distinguished name properties match at least one of the filters. Empty lists are not allowed, omit the attribute instead. (see [below for nested schema](#nestedatt--certificate_filters))
162
159
-`codec_server` (Attributes) A codec server is used by the Temporal Cloud UI to decode payloads for all users interacting with this namespace, even if the workflow history itself is encrypted. (see [below for nested schema](#nestedatt--codec_server))
163
160
-`connectivity_rule_ids` (List of String) The IDs of the connectivity rules for this namespace.
161
+
-`namespace_lifecycle` (Attributes) The lifecycle configuration for the namespace. (see [below for nested schema](#nestedatt--namespace_lifecycle))
164
162
-`timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
165
163
166
164
### Read-Only
@@ -192,6 +190,14 @@ Optional:
192
190
-`pass_access_token` (Boolean) If true, Temporal Cloud will pass the access token to the codec server upon each request.
193
191
194
192
193
+
<aid="nestedatt--namespace_lifecycle"></a>
194
+
### Nested Schema for `namespace_lifecycle`
195
+
196
+
Optional:
197
+
198
+
-`enable_delete_protection` (Boolean) If true, the namespace cannot be deleted. This is a safeguard against accidental deletion. To delete a namespace with this option enabled, you must first set it to false.
Description: "The lifecycle configuration for the namespace.",
277
+
CustomType: internaltypes.ZeroObjectType{
278
+
ObjectType: basetypes.ObjectType{
279
+
AttrTypes: lifecycleAttrs,
280
+
},
281
+
},
282
+
Attributes: map[string]schema.Attribute{
283
+
"enable_delete_protection": schema.BoolAttribute{
284
+
Description: "If true, the namespace cannot be deleted. This is a safeguard against accidental deletion. To delete a namespace with this option enabled, you must first set it to false.",
285
+
Optional: true,
286
+
Computed: true,
287
+
Default: booldefault.StaticBool(false),
288
+
},
289
+
},
290
+
Optional: true,
291
+
},
266
292
"connectivity_rule_ids": schema.ListAttribute{
267
293
Description: "The IDs of the connectivity rules for this namespace.",
0 commit comments