Skip to content

Commit 6b6e113

Browse files
authored
Merge pull request #1608 from hashicorp/create-pull-request/patch
release: v0.64.0
2 parents e0e0eb4 + 5f32102 commit 6b6e113

30 files changed

+141
-178
lines changed

website/docs/cdktf/csharp/d/projects.html.markdown

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class MyConvertedCode : TerraformStack
2323
{
2424
public MyConvertedCode(Construct scope, string name) : base(scope, name)
2525
{
26-
new DataTfeProjects.DataTfeProjects(this, "all", new Struct {
26+
new DataTfeProjects.DataTfeProjects(this, "all", new DataTfeProjectsConfig {
2727
Organization = "my-org-name"
2828
});
2929
}
@@ -43,6 +43,6 @@ The following arguments are supported:
4343
* `Name` - Name of the project.
4444
* `Description` - Description of the organization.
4545
* `Organization` - Name of the organization.
46+
* `AutoDestroyActivityDuration` - A duration string for all workspaces in the project, representing time after each workspace's activity when an auto-destroy run will be triggered.
4647

47-
48-
<!-- cache-key: cdktf-0.17.0-pre.15 input-98a90539531e97fa5e4034996187e685dd605e9a2a8a2d3a58acca240f7dc197 -->
48+
<!-- cache-key: cdktf-0.17.0-pre.15 input-80f7374bb86183375fd75ccdf9e337a9635c8ca4a605c4f1544be31f69bcced8 -->

website/docs/cdktf/csharp/d/workspace.html.markdown

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ In addition to all arguments above, the following attributes are exported:
5353
* `AssessmentsEnabled` - (Available only in HCP Terraform) Indicates whether health assessments such as drift detection are enabled for the workspace.
5454
* `FileTriggersEnabled` - Indicates whether runs are triggered based on the changed files in a VCS push (if `True`) or always triggered on every push (if `False`).
5555
* `GlobalRemoteState` - (Optional) Whether the workspace should allow all workspaces in the organization to access its state data during runs. If false, then only specifically approved workspaces can access its state (determined by the `RemoteStateConsumerIds` argument).
56+
* `InheritsProjectAutoDestroy` - Indicates whether this workspace inherits project auto destroy settings.
5657
* `RemoteStateConsumerIds` - (Optional) A set of workspace IDs that will be set as the remote state consumers for the given workspace. Cannot be used if `GlobalRemoteState` is set to `True`.
5758
* `Operations` - Indicates whether the workspace is using remote execution mode. Set to `False` to switch execution mode to local. `True` by default.
5859
* `PolicyCheckFailures` - The number of policy check failures from the latest run.
@@ -90,4 +91,4 @@ The `VcsRepo` block contains:
9091
* `OauthTokenId` - OAuth token ID of the configured VCS connection.
9192
* `TagsRegex` - A regular expression used to trigger a Workspace run for matching Git tags.
9293

93-
<!-- cache-key: cdktf-0.17.0-pre.15 input-ae8f9f76e2d23dc67ab5c3690201b7bf88a8d93dc83db02352e0f31425999200 -->
94+
<!-- cache-key: cdktf-0.17.0-pre.15 input-d80e2cf72aa52f98270a38620225ac1ef8a4810885e13dedc294ad2c1d21c880 -->

website/docs/cdktf/csharp/index.html.markdown

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ automatically installed by `terraform init` in the future:
7777
terraform {
7878
required_providers {
7979
tfe = {
80-
version = "~> 0.63.0"
80+
version = "~> 0.64.0"
8181
}
8282
}
8383
}
@@ -90,7 +90,7 @@ The above snippet using `RequiredProviders` is for Terraform 0.13+; if you are u
9090

9191
```hcl
9292
provider "tfe" {
93-
version = "~> 0.63.0"
93+
version = "~> 0.64.0"
9494
...
9595
}
9696
```
@@ -103,7 +103,7 @@ For more information on provider installation and constraining provider versions
103103
provider "tfe" {
104104
hostname = var.hostname # Optional, defaults to HCP Terraform `AppTerraformIo`
105105
token = var.token
106-
version = "~> 0.63.0"
106+
version = "~> 0.64.0"
107107
}
108108
109109
# Create an organization
@@ -129,4 +129,4 @@ The following arguments are supported:
129129
arguments. Ensure that the organization already exists prior to using this argument.
130130
This can also be specified using the `TfeOrganization` environment variable.
131131

132-
<!-- cache-key: cdktf-0.17.0-pre.15 input-2f1a6a27f478b3c7a44771588b04fce2662f17f71da41499c12bfb9d8ecee69c -->
132+
<!-- cache-key: cdktf-0.17.0-pre.15 input-05486c7d4c175286118a02a92524efe52d7b89a7fe28678c16f1950704e3650b -->

website/docs/cdktf/csharp/r/project.html.markdown

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ The following arguments are supported:
4646
* TFE versions v202405-1 and later support between 3-40 characters
4747
* `Organization` - (Optional) Name of the organization. If omitted, organization must be defined in the provider config.
4848
* `Description` - (Optional) A description for the project.
49+
* `AutoDestroyActivityDuration` - A duration string for all workspaces in the project, representing time after each workspace's activity when an auto-destroy run will be triggered.
4950

5051
## Attributes Reference
5152

@@ -61,4 +62,4 @@ Projects can be imported; use `<PROJECT ID>` as the import ID. For example:
6162
terraform import tfe_project.test prj-niVoeESBXT8ZREhr
6263
```
6364

64-
<!-- cache-key: cdktf-0.17.0-pre.15 input-43a63826c3cef967034969841a29eab7e340b22c271c86f196fdfaa7f4ba39c9 -->
65+
<!-- cache-key: cdktf-0.17.0-pre.15 input-befaa18bc6eb885ab6d87f984dacca7d79c9c43738c087905260f265ea57dc5d -->

website/docs/cdktf/csharp/r/team_project_access.html.markdown

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ The following permissions apply to the project itself.
6464
|---------------------|---------------------------------------------|
6565
| `Settings` | The permission to grant for the project's settings. Default: `Read`. Valid strings: `Read`, `Update`, or `Delete` |
6666
| `Teams` | The permission to grant for the project's teams. Default: `None`, Valid strings: `None`, `Read`, or `Manage` |
67+
| `VariableSets` | The permission to grant for the project's variable sets. Default: `None`, Valid strings: `None`, `Read`, or `Write` |
6768

6869
</n>
6970
</n>
@@ -108,7 +109,8 @@ class MyConvertedCode : TerraformStack
108109
Access = "custom",
109110
ProjectAccess = new [] { new TeamProjectAccessProjectAccess {
110111
Settings = "read",
111-
Teams = "none"
112+
Teams = "none",
113+
VariableSets = "write"
112114
} },
113115
ProjectId = Token.AsString(tfeProjectTest.Id),
114116
TeamId = Token.AsString(tfeTeamDev.Id),
@@ -141,4 +143,4 @@ example:
141143
terraform import tfe_team_project_access.admin tprj-2pmtXpZa4YzVMTPi
142144
```
143145

144-
<!-- cache-key: cdktf-0.17.0-pre.15 input-70d51a3488cdf5b0f4c0f82652aa131c7657aa59a3694f18dcc5814c39bab829 -->
146+
<!-- cache-key: cdktf-0.17.0-pre.15 input-9d287e81f7a933c07074422fa33873c0864ee9399463d646b8c6c4a8dda3dfca -->

website/docs/cdktf/csharp/r/workspace.html.markdown

Lines changed: 12 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -17,26 +17,16 @@ Provides a workspace resource.
1717

1818
Basic usage:
1919

20-
```csharp
21-
using Constructs;
22-
using HashiCorp.Cdktf;
23-
/*Provider bindings are generated by running cdktf get.
24-
See https://cdk.tf/provider-generation for more details.*/
25-
using Gen.Providers.Tfe;
26-
class MyConvertedCode : TerraformStack
27-
{
28-
public MyConvertedCode(Construct scope, string name) : base(scope, name)
29-
{
30-
var tfeOrganizationTestOrganization = new Organization.Organization(this, "test-organization", new OrganizationConfig {
31-
Email = "admin@company.com",
32-
Name = "my-org-name"
33-
});
34-
new Workspace.Workspace(this, "test", new WorkspaceConfig {
35-
Name = "my-workspace-name",
36-
Organization = Token.AsString(tfeOrganizationTestOrganization.Name),
37-
TagNames = new [] { "test", "app" }
38-
});
39-
}
20+
```hcl
21+
resource "tfe_organization" "test-organization" {
22+
name = "my-org-name"
23+
email = "admin@company.com"
24+
}
25+
26+
resource "tfe_workspace" "test" {
27+
name = "my-workspace-name"
28+
organization = tfe_organization.test-organization.name
29+
tag_names = ["test", "app"]
4030
}
4131
```
4232

@@ -177,6 +167,7 @@ In addition to all arguments above, the following attributes are exported:
177167
* `Id` - The workspace ID.
178168
* `ResourceCount` - The number of resources managed by the workspace.
179169
* `HtmlUrl` - The URL to the browsable HTML overview of the workspace.
170+
* `InheritsProjectAutoDestroy` - Indicates whether this workspace inherits project auto destroy settings.
180171

181172
## Import
182173

@@ -191,4 +182,4 @@ terraform import tfe_workspace.test ws-CH5in3chf8RJjrVd
191182
terraform import tfe_workspace.test my-org-name/my-wkspace-name
192183
```
193184

194-
<!-- cache-key: cdktf-0.17.0-pre.15 input-2359c8613d3559ab7c7a4c6129993314e7d1492991970cbde73305dbd190c688 -->
185+
<!-- cache-key: cdktf-0.17.0-pre.15 input-4b1344d6931127aac5b21f2c92904baad7e55cce5d725e27e7c534c19ba0af5f -->

website/docs/cdktf/go/d/projects.html.markdown

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ type myConvertedCode struct {
2626
func newMyConvertedCode(scope construct, name *string) *myConvertedCode {
2727
this := &myConvertedCode{}
2828
cdktf.NewTerraformStack_Override(this, scope, name)
29-
dataTfeProjects.NewDataTfeProjects(this, jsii.String("all"), map[string]*string{
30-
"organization": jsii.String("my-org-name"),
29+
dataTfeProjects.NewDataTfeProjects(this, jsii.String("all"), &dataTfeProjectsConfig{
30+
organization: jsii.String("my-org-name"),
3131
})
3232
return this
3333
}
@@ -46,6 +46,6 @@ The following arguments are supported:
4646
* `Name` - Name of the project.
4747
* `Description` - Description of the organization.
4848
* `Organization` - Name of the organization.
49+
* `AutoDestroyActivityDuration` - A duration string for all workspaces in the project, representing time after each workspace's activity when an auto-destroy run will be triggered.
4950

50-
51-
<!-- cache-key: cdktf-0.17.0-pre.15 input-98a90539531e97fa5e4034996187e685dd605e9a2a8a2d3a58acca240f7dc197 -->
51+
<!-- cache-key: cdktf-0.17.0-pre.15 input-80f7374bb86183375fd75ccdf9e337a9635c8ca4a605c4f1544be31f69bcced8 -->

website/docs/cdktf/go/d/workspace.html.markdown

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ In addition to all arguments above, the following attributes are exported:
5656
* `AssessmentsEnabled` - (Available only in HCP Terraform) Indicates whether health assessments such as drift detection are enabled for the workspace.
5757
* `FileTriggersEnabled` - Indicates whether runs are triggered based on the changed files in a VCS push (if `True`) or always triggered on every push (if `False`).
5858
* `GlobalRemoteState` - (Optional) Whether the workspace should allow all workspaces in the organization to access its state data during runs. If false, then only specifically approved workspaces can access its state (determined by the `RemoteStateConsumerIds` argument).
59+
* `InheritsProjectAutoDestroy` - Indicates whether this workspace inherits project auto destroy settings.
5960
* `RemoteStateConsumerIds` - (Optional) A set of workspace IDs that will be set as the remote state consumers for the given workspace. Cannot be used if `GlobalRemoteState` is set to `True`.
6061
* `Operations` - Indicates whether the workspace is using remote execution mode. Set to `False` to switch execution mode to local. `True` by default.
6162
* `PolicyCheckFailures` - The number of policy check failures from the latest run.
@@ -93,4 +94,4 @@ The `VcsRepo` block contains:
9394
* `OauthTokenId` - OAuth token ID of the configured VCS connection.
9495
* `TagsRegex` - A regular expression used to trigger a Workspace run for matching Git tags.
9596

96-
<!-- cache-key: cdktf-0.17.0-pre.15 input-ae8f9f76e2d23dc67ab5c3690201b7bf88a8d93dc83db02352e0f31425999200 -->
97+
<!-- cache-key: cdktf-0.17.0-pre.15 input-d80e2cf72aa52f98270a38620225ac1ef8a4810885e13dedc294ad2c1d21c880 -->

website/docs/cdktf/go/index.html.markdown

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ automatically installed by `terraform init` in the future:
7777
terraform {
7878
required_providers {
7979
tfe = {
80-
version = "~> 0.63.0"
80+
version = "~> 0.64.0"
8181
}
8282
}
8383
}
@@ -90,7 +90,7 @@ The above snippet using `RequiredProviders` is for Terraform 0.13+; if you are u
9090

9191
```hcl
9292
provider "tfe" {
93-
version = "~> 0.63.0"
93+
version = "~> 0.64.0"
9494
...
9595
}
9696
```
@@ -103,7 +103,7 @@ For more information on provider installation and constraining provider versions
103103
provider "tfe" {
104104
hostname = var.hostname # Optional, defaults to HCP Terraform `AppTerraformIo`
105105
token = var.token
106-
version = "~> 0.63.0"
106+
version = "~> 0.64.0"
107107
}
108108
109109
# Create an organization
@@ -129,4 +129,4 @@ The following arguments are supported:
129129
arguments. Ensure that the organization already exists prior to using this argument.
130130
This can also be specified using the `TfeOrganization` environment variable.
131131

132-
<!-- cache-key: cdktf-0.17.0-pre.15 input-2f1a6a27f478b3c7a44771588b04fce2662f17f71da41499c12bfb9d8ecee69c -->
132+
<!-- cache-key: cdktf-0.17.0-pre.15 input-05486c7d4c175286118a02a92524efe52d7b89a7fe28678c16f1950704e3650b -->

website/docs/cdktf/go/r/project.html.markdown

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ The following arguments are supported:
5050
* TFE versions v202405-1 and later support between 3-40 characters
5151
* `Organization` - (Optional) Name of the organization. If omitted, organization must be defined in the provider config.
5252
* `Description` - (Optional) A description for the project.
53+
* `AutoDestroyActivityDuration` - A duration string for all workspaces in the project, representing time after each workspace's activity when an auto-destroy run will be triggered.
5354

5455
## Attributes Reference
5556

@@ -65,4 +66,4 @@ Projects can be imported; use `<PROJECT ID>` as the import ID. For example:
6566
terraform import tfe_project.test prj-niVoeESBXT8ZREhr
6667
```
6768

68-
<!-- cache-key: cdktf-0.17.0-pre.15 input-43a63826c3cef967034969841a29eab7e340b22c271c86f196fdfaa7f4ba39c9 -->
69+
<!-- cache-key: cdktf-0.17.0-pre.15 input-befaa18bc6eb885ab6d87f984dacca7d79c9c43738c087905260f265ea57dc5d -->

0 commit comments

Comments
 (0)