Skip to content

Commit

Permalink
Merge pull request #1289 from hashicorp/mead223/0.53.0-release
Browse files Browse the repository at this point in the history
Prep for 0.53.0 Release
  • Loading branch information
Maed223 committed Mar 14, 2024
2 parents 1542422 + 93f0a4a commit bd170e9
Show file tree
Hide file tree
Showing 226 changed files with 6,198 additions and 4,399 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
## UNRELEASED

## v0.53.0

FEATURES:
* `r/tfe_workspace`: Add `ignore_additional_tag_names` which explicitly ignores `tag_names` _not_ defined by config so they will not be overwritten by the configured tags, by @brandonc and @mbillow [1254](https://github.com/hashicorp/terraform-provider-tfe/pull/1254)

Expand Down
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<img alt="Terraform" src="https://www.datocms-assets.com/2885/1629941242-logo-terraform-main.svg" width="600px">


# Terraform Cloud/Enterprise Provider

The official Terraform provider for [Terraform Cloud/Enterprise](https://www.hashicorp.com/products/terraform).
Expand Down Expand Up @@ -29,7 +28,7 @@ Declare the provider in your configuration and `terraform init` will automatical
terraform {
required_providers {
tfe = {
version = "~> 0.51.1"
version = "~> 0.53.0"
}
}
}
Expand All @@ -45,7 +44,7 @@ The above snippet using `required_providers` is for Terraform 0.13+; if you are

```hcl
provider "tfe" {
version = "~> 0.51.1"
version = "~> 0.53.0"
...
}
```
Expand Down
17 changes: 10 additions & 7 deletions website/docs/cdktf/csharp/d/github_installation.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ description: |-
Get information on the Github App Installation.
---


<!-- Please do not edit this file, it is generated. -->
# Data Source: tfe_github_app_installation

Use this data source to get information about the Github App Installation.
Expand All @@ -24,7 +26,7 @@ class MyConvertedCode : TerraformStack
public MyConvertedCode(Construct scope, string name) : base(scope, name)
{
new DataTfeGithubAppInstallation.DataTfeGithubAppInstallation(this, "gha_installation", new DataTfeGithubAppInstallationConfig {
InstallationId = 12345
InstallationId = 12345678
});
}
}
Expand All @@ -43,24 +45,25 @@ class MyConvertedCode : TerraformStack
public MyConvertedCode(Construct scope, string name) : base(scope, name)
{
new DataTfeGithubAppInstallation.DataTfeGithubAppInstallation(this, "gha_installation", new DataTfeGithubAppInstallationConfig {
Name = "installation_name"
Name = "github_username_or_organization"
});
}
}
```

## Argument Reference

The following arguments are supported. At least one of `Name`, `InstallationId` must be set.
The following arguments are supported. At least one of `Name`, `InstallationId` must be set.

* `InstallationId` - (Optional) ID of the Github Installation. The installation ID can be found in the URL slug when visiting the installation's configuration page, e.g `Https://githubCom/settings/installations/12345678`.
* `Name` - (Optional) Name of the Github user or organization account that installed the app.

* `InstallationId` - (Optional) ID of the Github Installation as shown in Github.
* `Name` - (Optional) Name of the Github Installation as shown in Github.

Must be one of: `InstallationId` or `Name`.

## Attributes Reference

In addition to all arguments above, the following attributes are exported:

* `Id` - The internal ID of the Github Installation. This is different from the `InstallationId`.
<!-- cache-key: cdktf-0.17.0-pre.15 input-0a4ff055d60c44b213a5dc7ce9fcb8c10208e9d24cd4e44f3a552a718ea64d50 -->

<!-- cache-key: cdktf-0.17.0-pre.15 input-5d439ec2ae1e837495b8cb500e2fcfe96d47a32f9fce3a10ffac876fe18a89dc -->
42 changes: 42 additions & 0 deletions website/docs/cdktf/csharp/d/no_code_module.html.markdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
---
layout: "tfe"
page_title: "Terraform Enterprise: tfe_no_code_module"
description: |-
Get information on a no-code module.
---


<!-- Please do not edit this file, it is generated. -->
# Data Source: tfe_registry_provider

Use this data source to read the details of an existing No-Code-Allowed module.

## Example Usage

```hcl
resource "tfe_no_code_module" "foobar" {
organization = tfe_organization.foobar.id
registry_module = tfe_registry_module.foobar.id
}
data "tfe_no_code_module" "foobar" {
id = tfe_no_code_module.foobar.id
}
```

## Argument Reference

The following arguments are supported:

* `Id` - (Required) ID of the no-code module.

## Attributes Reference

* `Id` - ID of the no-code module.
* `Organization` - Organization name that the no-code module belongs to.
* `Namespace` - Namespace name that the no-code module belongs to.
* `RegistryModuleId` - ID of the registry module for the no-code module.
* `VersionPin` - Version number the no-code module is pinned to.
* `Enabled` - Indicates if this no-code module is currently enabled

<!-- cache-key: cdktf-0.17.0-pre.15 input-575fd9c85b909c532a6abcfecdf6262d4ba6675f544b4a4a3a15b6c519eab693 -->
9 changes: 6 additions & 3 deletions website/docs/cdktf/csharp/d/organization.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ description: |-
Get information on an Organization.
---


<!-- Please do not edit this file, it is generated. -->
# Data Source: tfe_organization

Use this data source to get information about an organization.
Expand All @@ -31,19 +33,20 @@ class MyConvertedCode : TerraformStack
## Argument Reference

The following arguments are supported:
* `Name` - (Required) Name of the organization.
* `Name` - (Optional) Name of the organization. If omitted, organization must be defined in the provider config.

## Attributes Reference

In addition to all arguments above, the following attributes are exported:

* `Name` - Name of the organization.
* `Email` - Admin email address.
* `ExternalId` - An identifier for the organization.
* `AssessmentsEnforced` - (Available only in Terraform Cloud) Whether to force health assessments (drift detection) on all eligible workspaces or allow workspaces to set thier own preferences.
* `CollaboratorAuthPolicy` - Authentication policy (`Password` or `TwoFactorMandatory`). Defaults to `Password`.
* `CostEstimationEnabled` - Whether or not the cost estimation feature is enabled for all workspaces in the organization. Defaults to true. In a Terraform Cloud organization which does not have Teams & Governance features, this value is always false and cannot be changed. In Terraform Enterprise, Cost Estimation must also be enabled in Site Administration.
* `OwnersTeamSamlRoleId` - The name of the "owners" team.
* `SendPassingStatusesForUntriggeredSpeculativePlans` - Whether or not to send VCS status updates for untriggered speculative plans. This can be useful if large numbers of untriggered workspaces are exhausting request limits for connected version control service providers like GitHub. Defaults to true. In Terraform Enterprise, this setting has no effect and cannot be changed but is also available in Site Administration.
* `AggregatedCommitStatusEnabled` - Whether or not to enable Aggregated Status Checks. This can be useful for monorepo repositories with multiple workspaces receiving status checks for events such as a pull request.
* `DefaultProjectId` - ID of the organization's default project. All workspaces created without specifying a project ID are created in this project.
<!-- cache-key: cdktf-0.17.0-pre.15 input-73ec7085b3dbf61a45984fb7c74bac9c042ca20c175259f0650faf7acfa99133 -->

<!-- cache-key: cdktf-0.17.0-pre.15 input-944effb44f4d14fb4476a9f26014b95ea0376bb130076243476598735562f471 -->
4 changes: 3 additions & 1 deletion website/docs/cdktf/csharp/d/policy_set.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ The following arguments are supported:
* `Description` - Description of the policy set.
* `Global` - Whether or not the policy set applies to all workspaces in the organization.
* `Kind` - The policy-as-code framework for the policy. Valid values are "sentinel" and "opa".
* `AgentEnabled` - Whether or not the policy set is run as a policy evaluation within the agent. True by default for all "opa" policy sets.
* `PolicyToolVersion` - The policy tool version to run the evaluation against.
* `Overridable` - Whether users can override this policy when it fails during a run. Only valid for OPA policies.
* `WorkspaceIds` - IDs of the workspaces that use the policy set.
* `ExcludedWorkspaceIds` - IDs of the workspaces that do not use the policy set.
Expand All @@ -67,4 +69,4 @@ The `VcsRepo` block contains:
* `OauthTokenId` - OAuth token ID of the configured VCS connection.


<!-- cache-key: cdktf-0.17.0-pre.15 input-bff8c51389c3dbd386e33f4eb88fd654798f5c7d466c1606e6c90d22ca8ae19a -->
<!-- cache-key: cdktf-0.17.0-pre.15 input-d02c3079dfc63899f78fd83cad73af0b541d3dfa9605f525b0e217acf3e5f6c6 -->
47 changes: 47 additions & 0 deletions website/docs/cdktf/csharp/d/registry_gpg_key.html.markdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
---
layout: "tfe"
page_title: "Terraform Enterprise: tfe_registry_gpg_key"
description: |-
Get information on a private registry GPG key.
---


<!-- Please do not edit this file, it is generated. -->
# Data Source: tfe_registry_gpg_key

Use this data source to get information about a private registry GPG key.

## Example Usage

```csharp
using Constructs;
using HashiCorp.Cdktf;
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
using Gen.Providers.Tfe;
class MyConvertedCode : TerraformStack
{
public MyConvertedCode(Construct scope, string name) : base(scope, name)
{
new DataTfeRegistryGpgKey.DataTfeRegistryGpgKey(this, "example", new DataTfeRegistryGpgKeyConfig {
Id = "13DFECCA3B58CE4A",
Organization = "my-org-name"
});
}
}
```

## Argument Reference

The following arguments are supported:

* `Id` - (Required) ID of the GPG key.
* `Organization` - (Optional) Name of the organization. If omitted, organization must be defined in the provider config.

## Attributes Reference

* `AsciiArmor` - ASCII-armored representation of the GPG key.
* `CreatedAt` - The time when the GPG key was created.
* `UpdatedAt` - The time when the GPG key was last updated.

<!-- cache-key: cdktf-0.17.0-pre.15 input-7cf721398cc48785bd0ab8f949360d917b2cadf37b1f704b8747ee2c07ced5d4 -->
48 changes: 48 additions & 0 deletions website/docs/cdktf/csharp/d/registry_gpg_keys.html.markdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
---
layout: "tfe"
page_title: "Terraform Enterprise: tfe_registry_gpg_keys"
description: |-
Get information on private registry GPG keys of an organization.
---


<!-- Please do not edit this file, it is generated. -->
# Data Source: tfe_registry_gpg_key

Use this data source to get information about all private registry GPG keys of an organization.

## Example Usage

```csharp
using Constructs;
using HashiCorp.Cdktf;
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
using Gen.Providers.Tfe;
class MyConvertedCode : TerraformStack
{
public MyConvertedCode(Construct scope, string name) : base(scope, name)
{
new DataTfeRegistryGpgKeys.DataTfeRegistryGpgKeys(this, "all", new DataTfeRegistryGpgKeysConfig {
Organization = "my-org-name"
});
}
}
```

## Argument Reference

The following arguments are supported:

* `Organization` - (Optional) Name of the organization. If omitted, organization must be defined in the provider config.

## Attributes Reference

* `Keys` - List of GPG keys in the organization. Each element contains the following attributes:
* `Id` - ID of the GPG key.
* `Organization` - Name of the organization.
* `AsciiArmor` - ASCII-armored representation of the GPG key.
* `CreatedAt` - The time when the GPG key was created.
* `UpdatedAt` - The time when the GPG key was last updated.

<!-- cache-key: cdktf-0.17.0-pre.15 input-985032e5d21704bbf9d65466c89a423c9765fcddc79c819677b5b011797a49e7 -->
73 changes: 73 additions & 0 deletions website/docs/cdktf/csharp/d/registry_provider.html.markdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
---
layout: "tfe"
page_title: "Terraform Enterprise: tfe_registry_provider"
description: |-
Get information on a public or private provider in the private registry.
---


<!-- Please do not edit this file, it is generated. -->
# Data Source: tfe_registry_provider

Use this data source to get information about a public or private provider in the private registry.

## Example Usage

A private provider:

```csharp
using Constructs;
using HashiCorp.Cdktf;
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
using Gen.Providers.Tfe;
class MyConvertedCode : TerraformStack
{
public MyConvertedCode(Construct scope, string name) : base(scope, name)
{
new RegistryProvider.RegistryProvider(this, "example", new RegistryProviderConfig {
Name = "my-provider",
Organization = "my-org-name"
});
}
}
```

A public provider:

```csharp
using Constructs;
using HashiCorp.Cdktf;
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
using Gen.Providers.Tfe;
class MyConvertedCode : TerraformStack
{
public MyConvertedCode(Construct scope, string name) : base(scope, name)
{
new RegistryProvider.RegistryProvider(this, "example", new RegistryProviderConfig {
Name = "aws",
Namespace = "hashicorp",
Organization = "my-org-name",
RegistryName = "public"
});
}
}
```

## Argument Reference

The following arguments are supported:

* `Organization` - (Optional) Name of the organization. If omitted, organization must be defined in the provider config.
* `RegistryName` - (Optional) Whether this is a publicly maintained provider or private. Must be either `Public` or `Private`. Defaults to `Private`.
* `Namespace` - (Optional) The namespace of the provider. Required if `RegistryName` is `Public`, otherwise it can't be configured, and it will be set to same value as the `Organization`.
* `Name` - (Required) Name of the provider.

## Attributes Reference

* `Id` - ID of the provider.
* `CreatedAt` - The time when the provider was created.
* `UpdatedAt` - The time when the provider was last updated.

<!-- cache-key: cdktf-0.17.0-pre.15 input-f9e0af19d1890c9a1f513b4733d64c1b0de8c9da99113cd78d129a1840acbbec -->
Loading

0 comments on commit bd170e9

Please sign in to comment.