diff --git a/.github/workflows/auto-close-community-issues.yml b/.github/workflows/auto-close-community-issues.yml index ff77229c8..90394cee7 100644 --- a/.github/workflows/auto-close-community-issues.yml +++ b/.github/workflows/auto-close-community-issues.yml @@ -14,7 +14,7 @@ jobs: permissions: pull-requests: write issues: write - if: github.event.issue.author_association != 'OWNER' && github.event.issue.author_association != 'COLLABORATOR' + if: github.event.issue.author_association != 'OWNER' && github.event.issue.author_association != 'MEMBER' && github.event.issue.author_association != 'COLLABORATOR' steps: - name: Auto-close issues by non-collaborators uses: peter-evans/close-issue@v2 diff --git a/.mergify.yml b/.mergify.yml index 21662cf57..1baaa4eed 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -22,6 +22,14 @@ pull_request_rules: - -label~=(do-not-merge) - -draft - author=team-tf-cdk + - name: Automatically close stale PRs + actions: + close: + message: Closing this automatic PR, if it has not merged there is most likely a CI or CDKTF issue preventing it from merging + conditions: + - author=team-tf-cdk + - -draft + - created-at>=1 day ago - name: Automatic merge on approval and successful build actions: delete_head_branch: {} diff --git a/package.json b/package.json index efac0e2dd..62ed454f9 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "jsii-pacmak": "^1.73.0", "node-fetch": "cjs", "npm-check-updates": "^16", - "projen": "^0.66.9", + "projen": "^0.67.0", "standard-version": "^9", "typescript": "^4.9.4" }, @@ -149,7 +149,7 @@ "cdktf": { "provider": { "name": "registry.terraform.io/hashicorp/tfe", - "version": "0.40.0" + "version": "0.41.0" } }, "resolutions": { diff --git a/src/admin-organization-settings/index.ts b/src/admin-organization-settings/index.ts index 6b4f478a3..20ac93f8c 100644 --- a/src/admin-organization-settings/index.ts +++ b/src/admin-organization-settings/index.ts @@ -62,7 +62,7 @@ export class AdminOrganizationSettings extends cdktf.TerraformResource { terraformResourceType: 'tfe_admin_organization_settings', terraformGeneratorMetadata: { providerName: 'tfe', - providerVersion: '0.40.0', + providerVersion: '0.41.0', providerVersionConstraint: '~> 0.33' }, provider: config.provider, diff --git a/src/agent-pool/index.ts b/src/agent-pool/index.ts index 3c38ba7ca..09809b53a 100644 --- a/src/agent-pool/index.ts +++ b/src/agent-pool/index.ts @@ -50,7 +50,7 @@ export class AgentPool extends cdktf.TerraformResource { terraformResourceType: 'tfe_agent_pool', terraformGeneratorMetadata: { providerName: 'tfe', - providerVersion: '0.40.0', + providerVersion: '0.41.0', providerVersionConstraint: '~> 0.33' }, provider: config.provider, diff --git a/src/agent-token/index.ts b/src/agent-token/index.ts index a0ed325b7..a2d0d1207 100644 --- a/src/agent-token/index.ts +++ b/src/agent-token/index.ts @@ -50,7 +50,7 @@ export class AgentToken extends cdktf.TerraformResource { terraformResourceType: 'tfe_agent_token', terraformGeneratorMetadata: { providerName: 'tfe', - providerVersion: '0.40.0', + providerVersion: '0.41.0', providerVersionConstraint: '~> 0.33' }, provider: config.provider, diff --git a/src/data-tfe-agent-pool/index.ts b/src/data-tfe-agent-pool/index.ts index 4b1226689..4aaae21b1 100644 --- a/src/data-tfe-agent-pool/index.ts +++ b/src/data-tfe-agent-pool/index.ts @@ -50,7 +50,7 @@ export class DataTfeAgentPool extends cdktf.TerraformDataSource { terraformResourceType: 'tfe_agent_pool', terraformGeneratorMetadata: { providerName: 'tfe', - providerVersion: '0.40.0', + providerVersion: '0.41.0', providerVersionConstraint: '~> 0.33' }, provider: config.provider, diff --git a/src/data-tfe-ip-ranges/index.ts b/src/data-tfe-ip-ranges/index.ts index 9d0903933..61057f275 100644 --- a/src/data-tfe-ip-ranges/index.ts +++ b/src/data-tfe-ip-ranges/index.ts @@ -42,7 +42,7 @@ export class DataTfeIpRanges extends cdktf.TerraformDataSource { terraformResourceType: 'tfe_ip_ranges', terraformGeneratorMetadata: { providerName: 'tfe', - providerVersion: '0.40.0', + providerVersion: '0.41.0', providerVersionConstraint: '~> 0.33' }, provider: config.provider, diff --git a/src/data-tfe-oauth-client/index.ts b/src/data-tfe-oauth-client/index.ts index 1f086433e..0728e5874 100644 --- a/src/data-tfe-oauth-client/index.ts +++ b/src/data-tfe-oauth-client/index.ts @@ -58,7 +58,7 @@ export class DataTfeOauthClient extends cdktf.TerraformDataSource { terraformResourceType: 'tfe_oauth_client', terraformGeneratorMetadata: { providerName: 'tfe', - providerVersion: '0.40.0', + providerVersion: '0.41.0', providerVersionConstraint: '~> 0.33' }, provider: config.provider, diff --git a/src/data-tfe-organization-members/index.ts b/src/data-tfe-organization-members/index.ts index 00cefc792..3df04265b 100644 --- a/src/data-tfe-organization-members/index.ts +++ b/src/data-tfe-organization-members/index.ts @@ -184,7 +184,7 @@ export class DataTfeOrganizationMembers extends cdktf.TerraformDataSource { terraformResourceType: 'tfe_organization_members', terraformGeneratorMetadata: { providerName: 'tfe', - providerVersion: '0.40.0', + providerVersion: '0.41.0', providerVersionConstraint: '~> 0.33' }, provider: config.provider, diff --git a/src/data-tfe-organization-membership/index.ts b/src/data-tfe-organization-membership/index.ts index 288489171..3fdd14630 100644 --- a/src/data-tfe-organization-membership/index.ts +++ b/src/data-tfe-organization-membership/index.ts @@ -54,7 +54,7 @@ export class DataTfeOrganizationMembership extends cdktf.TerraformDataSource { terraformResourceType: 'tfe_organization_membership', terraformGeneratorMetadata: { providerName: 'tfe', - providerVersion: '0.40.0', + providerVersion: '0.41.0', providerVersionConstraint: '~> 0.33' }, provider: config.provider, diff --git a/src/data-tfe-organization-run-task/index.ts b/src/data-tfe-organization-run-task/index.ts index 06f4a4a01..d465d6bbf 100644 --- a/src/data-tfe-organization-run-task/index.ts +++ b/src/data-tfe-organization-run-task/index.ts @@ -66,7 +66,7 @@ export class DataTfeOrganizationRunTask extends cdktf.TerraformDataSource { terraformResourceType: 'tfe_organization_run_task', terraformGeneratorMetadata: { providerName: 'tfe', - providerVersion: '0.40.0', + providerVersion: '0.41.0', providerVersionConstraint: '~> 0.33' }, provider: config.provider, diff --git a/src/data-tfe-organization/index.ts b/src/data-tfe-organization/index.ts index c4b95624d..d19e006c8 100644 --- a/src/data-tfe-organization/index.ts +++ b/src/data-tfe-organization/index.ts @@ -46,7 +46,7 @@ export class DataTfeOrganization extends cdktf.TerraformDataSource { terraformResourceType: 'tfe_organization', terraformGeneratorMetadata: { providerName: 'tfe', - providerVersion: '0.40.0', + providerVersion: '0.41.0', providerVersionConstraint: '~> 0.33' }, provider: config.provider, diff --git a/src/data-tfe-organizations/index.ts b/src/data-tfe-organizations/index.ts index 2cc40b2c2..b9f36cdd2 100644 --- a/src/data-tfe-organizations/index.ts +++ b/src/data-tfe-organizations/index.ts @@ -46,7 +46,7 @@ export class DataTfeOrganizations extends cdktf.TerraformDataSource { terraformResourceType: 'tfe_organizations', terraformGeneratorMetadata: { providerName: 'tfe', - providerVersion: '0.40.0', + providerVersion: '0.41.0', providerVersionConstraint: '~> 0.33' }, provider: config.provider, diff --git a/src/data-tfe-outputs/index.ts b/src/data-tfe-outputs/index.ts index e587efaac..06fbf08d6 100644 --- a/src/data-tfe-outputs/index.ts +++ b/src/data-tfe-outputs/index.ts @@ -51,7 +51,7 @@ export class DataTfeOutputs extends cdktf.TerraformDataSource { terraformResourceType: 'tfe_outputs', terraformGeneratorMetadata: { providerName: 'tfe', - providerVersion: '0.40.0', + providerVersion: '0.41.0', providerVersionConstraint: '~> 0.33' }, provider: config.provider, @@ -76,6 +76,12 @@ export class DataTfeOutputs extends cdktf.TerraformDataSource { return this.getStringAttribute('id'); } + // nonsensitive_values - computed: true, optional: false, required: false + private _nonsensitiveValues = new cdktf.AnyMap(this, "nonsensitive_values"); + public get nonsensitiveValues() { + return this._nonsensitiveValues; + } + // organization - computed: false, optional: false, required: true private _organization?: string; public get organization() { diff --git a/src/data-tfe-policy-set/index.ts b/src/data-tfe-policy-set/index.ts index f92390e03..5632710bd 100644 --- a/src/data-tfe-policy-set/index.ts +++ b/src/data-tfe-policy-set/index.ts @@ -141,7 +141,7 @@ export class DataTfePolicySet extends cdktf.TerraformDataSource { terraformResourceType: 'tfe_policy_set', terraformGeneratorMetadata: { providerName: 'tfe', - providerVersion: '0.40.0', + providerVersion: '0.41.0', providerVersionConstraint: '~> 0.33' }, provider: config.provider, diff --git a/src/data-tfe-slug/index.ts b/src/data-tfe-slug/index.ts index 02e45fc8e..dee16c91b 100644 --- a/src/data-tfe-slug/index.ts +++ b/src/data-tfe-slug/index.ts @@ -46,7 +46,7 @@ export class DataTfeSlug extends cdktf.TerraformDataSource { terraformResourceType: 'tfe_slug', terraformGeneratorMetadata: { providerName: 'tfe', - providerVersion: '0.40.0', + providerVersion: '0.41.0', providerVersionConstraint: '~> 0.33' }, provider: config.provider, diff --git a/src/data-tfe-ssh-key/index.ts b/src/data-tfe-ssh-key/index.ts index 98d77585a..54778757b 100644 --- a/src/data-tfe-ssh-key/index.ts +++ b/src/data-tfe-ssh-key/index.ts @@ -50,7 +50,7 @@ export class DataTfeSshKey extends cdktf.TerraformDataSource { terraformResourceType: 'tfe_ssh_key', terraformGeneratorMetadata: { providerName: 'tfe', - providerVersion: '0.40.0', + providerVersion: '0.41.0', providerVersionConstraint: '~> 0.33' }, provider: config.provider, diff --git a/src/data-tfe-team-access/index.ts b/src/data-tfe-team-access/index.ts index 38206da68..38bd474f2 100644 --- a/src/data-tfe-team-access/index.ts +++ b/src/data-tfe-team-access/index.ts @@ -139,7 +139,7 @@ export class DataTfeTeamAccess extends cdktf.TerraformDataSource { terraformResourceType: 'tfe_team_access', terraformGeneratorMetadata: { providerName: 'tfe', - providerVersion: '0.40.0', + providerVersion: '0.41.0', providerVersionConstraint: '~> 0.33' }, provider: config.provider, diff --git a/src/data-tfe-team/index.ts b/src/data-tfe-team/index.ts index 5d2ca034f..4e5b19ac6 100644 --- a/src/data-tfe-team/index.ts +++ b/src/data-tfe-team/index.ts @@ -50,7 +50,7 @@ export class DataTfeTeam extends cdktf.TerraformDataSource { terraformResourceType: 'tfe_team', terraformGeneratorMetadata: { providerName: 'tfe', - providerVersion: '0.40.0', + providerVersion: '0.41.0', providerVersionConstraint: '~> 0.33' }, provider: config.provider, diff --git a/src/data-tfe-variable-set/index.ts b/src/data-tfe-variable-set/index.ts index f4e7a5cb8..982bfa691 100644 --- a/src/data-tfe-variable-set/index.ts +++ b/src/data-tfe-variable-set/index.ts @@ -58,7 +58,7 @@ export class DataTfeVariableSet extends cdktf.TerraformDataSource { terraformResourceType: 'tfe_variable_set', terraformGeneratorMetadata: { providerName: 'tfe', - providerVersion: '0.40.0', + providerVersion: '0.41.0', providerVersionConstraint: '~> 0.33' }, provider: config.provider, diff --git a/src/data-tfe-variables/index.ts b/src/data-tfe-variables/index.ts index cbb8e4e87..b712db29f 100644 --- a/src/data-tfe-variables/index.ts +++ b/src/data-tfe-variables/index.ts @@ -317,7 +317,7 @@ export class DataTfeVariables extends cdktf.TerraformDataSource { terraformResourceType: 'tfe_variables', terraformGeneratorMetadata: { providerName: 'tfe', - providerVersion: '0.40.0', + providerVersion: '0.41.0', providerVersionConstraint: '~> 0.33' }, provider: config.provider, diff --git a/src/data-tfe-workspace-ids/index.ts b/src/data-tfe-workspace-ids/index.ts index 3316774de..379e0385c 100644 --- a/src/data-tfe-workspace-ids/index.ts +++ b/src/data-tfe-workspace-ids/index.ts @@ -58,7 +58,7 @@ export class DataTfeWorkspaceIds extends cdktf.TerraformDataSource { terraformResourceType: 'tfe_workspace_ids', terraformGeneratorMetadata: { providerName: 'tfe', - providerVersion: '0.40.0', + providerVersion: '0.41.0', providerVersionConstraint: '~> 0.33' }, provider: config.provider, diff --git a/src/data-tfe-workspace-run-task/index.ts b/src/data-tfe-workspace-run-task/index.ts index c544d3183..9fcd7c1ce 100644 --- a/src/data-tfe-workspace-run-task/index.ts +++ b/src/data-tfe-workspace-run-task/index.ts @@ -54,7 +54,7 @@ export class DataTfeWorkspaceRunTask extends cdktf.TerraformDataSource { terraformResourceType: 'tfe_workspace_run_task', terraformGeneratorMetadata: { providerName: 'tfe', - providerVersion: '0.40.0', + providerVersion: '0.41.0', providerVersionConstraint: '~> 0.33' }, provider: config.provider, diff --git a/src/data-tfe-workspace/index.ts b/src/data-tfe-workspace/index.ts index d7a4dce29..d177f040f 100644 --- a/src/data-tfe-workspace/index.ts +++ b/src/data-tfe-workspace/index.ts @@ -138,7 +138,7 @@ export class DataTfeWorkspace extends cdktf.TerraformDataSource { terraformResourceType: 'tfe_workspace', terraformGeneratorMetadata: { providerName: 'tfe', - providerVersion: '0.40.0', + providerVersion: '0.41.0', providerVersionConstraint: '~> 0.33' }, provider: config.provider, diff --git a/src/notification-configuration/index.ts b/src/notification-configuration/index.ts index 73e821846..4584ae34f 100644 --- a/src/notification-configuration/index.ts +++ b/src/notification-configuration/index.ts @@ -78,7 +78,7 @@ export class NotificationConfiguration extends cdktf.TerraformResource { terraformResourceType: 'tfe_notification_configuration', terraformGeneratorMetadata: { providerName: 'tfe', - providerVersion: '0.40.0', + providerVersion: '0.41.0', providerVersionConstraint: '~> 0.33' }, provider: config.provider, diff --git a/src/oauth-client/index.ts b/src/oauth-client/index.ts index 3f59d67a5..bce7d579e 100644 --- a/src/oauth-client/index.ts +++ b/src/oauth-client/index.ts @@ -82,7 +82,7 @@ export class OauthClient extends cdktf.TerraformResource { terraformResourceType: 'tfe_oauth_client', terraformGeneratorMetadata: { providerName: 'tfe', - providerVersion: '0.40.0', + providerVersion: '0.41.0', providerVersionConstraint: '~> 0.33' }, provider: config.provider, diff --git a/src/organization-membership/index.ts b/src/organization-membership/index.ts index b22e0b07e..f1bd7de28 100644 --- a/src/organization-membership/index.ts +++ b/src/organization-membership/index.ts @@ -50,7 +50,7 @@ export class OrganizationMembership extends cdktf.TerraformResource { terraformResourceType: 'tfe_organization_membership', terraformGeneratorMetadata: { providerName: 'tfe', - providerVersion: '0.40.0', + providerVersion: '0.41.0', providerVersionConstraint: '~> 0.33' }, provider: config.provider, diff --git a/src/organization-module-sharing/index.ts b/src/organization-module-sharing/index.ts index 704f6e479..c6e3b9e91 100644 --- a/src/organization-module-sharing/index.ts +++ b/src/organization-module-sharing/index.ts @@ -50,7 +50,7 @@ export class OrganizationModuleSharing extends cdktf.TerraformResource { terraformResourceType: 'tfe_organization_module_sharing', terraformGeneratorMetadata: { providerName: 'tfe', - providerVersion: '0.40.0', + providerVersion: '0.41.0', providerVersionConstraint: '~> 0.33' }, provider: config.provider, diff --git a/src/organization-run-task/index.ts b/src/organization-run-task/index.ts index 8fe6c5adb..f7ec66038 100644 --- a/src/organization-run-task/index.ts +++ b/src/organization-run-task/index.ts @@ -70,7 +70,7 @@ export class OrganizationRunTask extends cdktf.TerraformResource { terraformResourceType: 'tfe_organization_run_task', terraformGeneratorMetadata: { providerName: 'tfe', - providerVersion: '0.40.0', + providerVersion: '0.41.0', providerVersionConstraint: '~> 0.33' }, provider: config.provider, diff --git a/src/organization-token/index.ts b/src/organization-token/index.ts index e7c897b2f..e92ba9995 100644 --- a/src/organization-token/index.ts +++ b/src/organization-token/index.ts @@ -50,7 +50,7 @@ export class OrganizationToken extends cdktf.TerraformResource { terraformResourceType: 'tfe_organization_token', terraformGeneratorMetadata: { providerName: 'tfe', - providerVersion: '0.40.0', + providerVersion: '0.41.0', providerVersionConstraint: '~> 0.33' }, provider: config.provider, diff --git a/src/organization/index.ts b/src/organization/index.ts index ebbb17c14..6eeb53db4 100644 --- a/src/organization/index.ts +++ b/src/organization/index.ts @@ -82,7 +82,7 @@ export class Organization extends cdktf.TerraformResource { terraformResourceType: 'tfe_organization', terraformGeneratorMetadata: { providerName: 'tfe', - providerVersion: '0.40.0', + providerVersion: '0.41.0', providerVersionConstraint: '~> 0.33' }, provider: config.provider, diff --git a/src/policy-set-parameter/index.ts b/src/policy-set-parameter/index.ts index 1324892a5..6aa1d8215 100644 --- a/src/policy-set-parameter/index.ts +++ b/src/policy-set-parameter/index.ts @@ -58,7 +58,7 @@ export class PolicySetParameter extends cdktf.TerraformResource { terraformResourceType: 'tfe_policy_set_parameter', terraformGeneratorMetadata: { providerName: 'tfe', - providerVersion: '0.40.0', + providerVersion: '0.41.0', providerVersionConstraint: '~> 0.33' }, provider: config.provider, diff --git a/src/policy-set/index.ts b/src/policy-set/index.ts index dcdbac883..dbbd36632 100644 --- a/src/policy-set/index.ts +++ b/src/policy-set/index.ts @@ -228,7 +228,7 @@ export class PolicySet extends cdktf.TerraformResource { terraformResourceType: 'tfe_policy_set', terraformGeneratorMetadata: { providerName: 'tfe', - providerVersion: '0.40.0', + providerVersion: '0.41.0', providerVersionConstraint: '~> 0.33' }, provider: config.provider, diff --git a/src/policy/index.ts b/src/policy/index.ts index ee504cc7c..6c62893cd 100644 --- a/src/policy/index.ts +++ b/src/policy/index.ts @@ -84,7 +84,7 @@ export class Policy extends cdktf.TerraformResource { terraformResourceType: 'tfe_policy', terraformGeneratorMetadata: { providerName: 'tfe', - providerVersion: '0.40.0', + providerVersion: '0.41.0', providerVersionConstraint: '~> 0.33' }, provider: config.provider, diff --git a/src/project/index.ts b/src/project/index.ts index 3953e37ae..a419e9df6 100644 --- a/src/project/index.ts +++ b/src/project/index.ts @@ -50,7 +50,7 @@ export class Project extends cdktf.TerraformResource { terraformResourceType: 'tfe_project', terraformGeneratorMetadata: { providerName: 'tfe', - providerVersion: '0.40.0', + providerVersion: '0.41.0', providerVersionConstraint: '~> 0.33' }, provider: config.provider, diff --git a/src/provider/index.ts b/src/provider/index.ts index 5b49a837c..0668b17d9 100644 --- a/src/provider/index.ts +++ b/src/provider/index.ts @@ -60,7 +60,7 @@ export class TfeProvider extends cdktf.TerraformProvider { terraformResourceType: 'tfe', terraformGeneratorMetadata: { providerName: 'tfe', - providerVersion: '0.40.0', + providerVersion: '0.41.0', providerVersionConstraint: '~> 0.33' }, terraformProviderSource: 'hashicorp/tfe' diff --git a/src/registry-module/index.ts b/src/registry-module/index.ts index e30f3dde9..dbcbb0d5b 100644 --- a/src/registry-module/index.ts +++ b/src/registry-module/index.ts @@ -182,7 +182,7 @@ export class RegistryModule extends cdktf.TerraformResource { terraformResourceType: 'tfe_registry_module', terraformGeneratorMetadata: { providerName: 'tfe', - providerVersion: '0.40.0', + providerVersion: '0.41.0', providerVersionConstraint: '~> 0.33' }, provider: config.provider, diff --git a/src/run-trigger/index.ts b/src/run-trigger/index.ts index ecebeb178..e95bf51e7 100644 --- a/src/run-trigger/index.ts +++ b/src/run-trigger/index.ts @@ -50,7 +50,7 @@ export class RunTrigger extends cdktf.TerraformResource { terraformResourceType: 'tfe_run_trigger', terraformGeneratorMetadata: { providerName: 'tfe', - providerVersion: '0.40.0', + providerVersion: '0.41.0', providerVersionConstraint: '~> 0.33' }, provider: config.provider, diff --git a/src/sentinel-policy/index.ts b/src/sentinel-policy/index.ts index 2133c4ec0..ec215d640 100644 --- a/src/sentinel-policy/index.ts +++ b/src/sentinel-policy/index.ts @@ -62,7 +62,7 @@ export class SentinelPolicy extends cdktf.TerraformResource { terraformResourceType: 'tfe_sentinel_policy', terraformGeneratorMetadata: { providerName: 'tfe', - providerVersion: '0.40.0', + providerVersion: '0.41.0', providerVersionConstraint: '~> 0.33' }, provider: config.provider, diff --git a/src/ssh-key/index.ts b/src/ssh-key/index.ts index 90bbe3967..13c96a766 100644 --- a/src/ssh-key/index.ts +++ b/src/ssh-key/index.ts @@ -54,7 +54,7 @@ export class SshKey extends cdktf.TerraformResource { terraformResourceType: 'tfe_ssh_key', terraformGeneratorMetadata: { providerName: 'tfe', - providerVersion: '0.40.0', + providerVersion: '0.41.0', providerVersionConstraint: '~> 0.33' }, provider: config.provider, diff --git a/src/team-access/index.ts b/src/team-access/index.ts index 1820e203a..1d8492f14 100644 --- a/src/team-access/index.ts +++ b/src/team-access/index.ts @@ -274,7 +274,7 @@ export class TeamAccess extends cdktf.TerraformResource { terraformResourceType: 'tfe_team_access', terraformGeneratorMetadata: { providerName: 'tfe', - providerVersion: '0.40.0', + providerVersion: '0.41.0', providerVersionConstraint: '~> 0.33' }, provider: config.provider, diff --git a/src/team-member/index.ts b/src/team-member/index.ts index c0a1e1f82..c6ab4939c 100644 --- a/src/team-member/index.ts +++ b/src/team-member/index.ts @@ -50,7 +50,7 @@ export class TeamMember extends cdktf.TerraformResource { terraformResourceType: 'tfe_team_member', terraformGeneratorMetadata: { providerName: 'tfe', - providerVersion: '0.40.0', + providerVersion: '0.41.0', providerVersionConstraint: '~> 0.33' }, provider: config.provider, diff --git a/src/team-members/index.ts b/src/team-members/index.ts index 0aa147462..eded3ae43 100644 --- a/src/team-members/index.ts +++ b/src/team-members/index.ts @@ -50,7 +50,7 @@ export class TeamMembers extends cdktf.TerraformResource { terraformResourceType: 'tfe_team_members', terraformGeneratorMetadata: { providerName: 'tfe', - providerVersion: '0.40.0', + providerVersion: '0.41.0', providerVersionConstraint: '~> 0.33' }, provider: config.provider, diff --git a/src/team-organization-member/index.ts b/src/team-organization-member/index.ts index b2289b509..8c1e05a8a 100644 --- a/src/team-organization-member/index.ts +++ b/src/team-organization-member/index.ts @@ -50,7 +50,7 @@ export class TeamOrganizationMember extends cdktf.TerraformResource { terraformResourceType: 'tfe_team_organization_member', terraformGeneratorMetadata: { providerName: 'tfe', - providerVersion: '0.40.0', + providerVersion: '0.41.0', providerVersionConstraint: '~> 0.33' }, provider: config.provider, diff --git a/src/team-organization-members/index.ts b/src/team-organization-members/index.ts index 783473193..56fb0600d 100644 --- a/src/team-organization-members/index.ts +++ b/src/team-organization-members/index.ts @@ -50,7 +50,7 @@ export class TeamOrganizationMembers extends cdktf.TerraformResource { terraformResourceType: 'tfe_team_organization_members', terraformGeneratorMetadata: { providerName: 'tfe', - providerVersion: '0.40.0', + providerVersion: '0.41.0', providerVersionConstraint: '~> 0.33' }, provider: config.provider, diff --git a/src/team-token/index.ts b/src/team-token/index.ts index 79e7c6021..93cf4eee7 100644 --- a/src/team-token/index.ts +++ b/src/team-token/index.ts @@ -50,7 +50,7 @@ export class TeamToken extends cdktf.TerraformResource { terraformResourceType: 'tfe_team_token', terraformGeneratorMetadata: { providerName: 'tfe', - providerVersion: '0.40.0', + providerVersion: '0.41.0', providerVersionConstraint: '~> 0.33' }, provider: config.provider, diff --git a/src/team/index.ts b/src/team/index.ts index f98148f5a..31329cec8 100644 --- a/src/team/index.ts +++ b/src/team/index.ts @@ -291,7 +291,7 @@ export class Team extends cdktf.TerraformResource { terraformResourceType: 'tfe_team', terraformGeneratorMetadata: { providerName: 'tfe', - providerVersion: '0.40.0', + providerVersion: '0.41.0', providerVersionConstraint: '~> 0.33' }, provider: config.provider, diff --git a/src/terraform-version/index.ts b/src/terraform-version/index.ts index b1553c12c..98dd2481b 100644 --- a/src/terraform-version/index.ts +++ b/src/terraform-version/index.ts @@ -74,7 +74,7 @@ export class TerraformVersion extends cdktf.TerraformResource { terraformResourceType: 'tfe_terraform_version', terraformGeneratorMetadata: { providerName: 'tfe', - providerVersion: '0.40.0', + providerVersion: '0.41.0', providerVersionConstraint: '~> 0.33' }, provider: config.provider, diff --git a/src/variable-set/index.ts b/src/variable-set/index.ts index 091af1b0f..d7d7f4cac 100644 --- a/src/variable-set/index.ts +++ b/src/variable-set/index.ts @@ -62,7 +62,7 @@ export class VariableSet extends cdktf.TerraformResource { terraformResourceType: 'tfe_variable_set', terraformGeneratorMetadata: { providerName: 'tfe', - providerVersion: '0.40.0', + providerVersion: '0.41.0', providerVersionConstraint: '~> 0.33' }, provider: config.provider, diff --git a/src/variable/index.ts b/src/variable/index.ts index 9698bcaa4..fd1381774 100644 --- a/src/variable/index.ts +++ b/src/variable/index.ts @@ -74,7 +74,7 @@ export class Variable extends cdktf.TerraformResource { terraformResourceType: 'tfe_variable', terraformGeneratorMetadata: { providerName: 'tfe', - providerVersion: '0.40.0', + providerVersion: '0.41.0', providerVersionConstraint: '~> 0.33' }, provider: config.provider, diff --git a/src/version.json b/src/version.json index 4b980d7ec..eae2f857a 100644 --- a/src/version.json +++ b/src/version.json @@ -1,3 +1,3 @@ { - "registry.terraform.io/hashicorp/tfe": "0.40.0" + "registry.terraform.io/hashicorp/tfe": "0.41.0" } diff --git a/src/workspace-policy-set/index.ts b/src/workspace-policy-set/index.ts index 400abebe8..4bafdabff 100644 --- a/src/workspace-policy-set/index.ts +++ b/src/workspace-policy-set/index.ts @@ -50,7 +50,7 @@ export class WorkspacePolicySet extends cdktf.TerraformResource { terraformResourceType: 'tfe_workspace_policy_set', terraformGeneratorMetadata: { providerName: 'tfe', - providerVersion: '0.40.0', + providerVersion: '0.41.0', providerVersionConstraint: '~> 0.33' }, provider: config.provider, diff --git a/src/workspace-run-task/index.ts b/src/workspace-run-task/index.ts index 73aafc08f..70c562774 100644 --- a/src/workspace-run-task/index.ts +++ b/src/workspace-run-task/index.ts @@ -66,7 +66,7 @@ export class WorkspaceRunTask extends cdktf.TerraformResource { terraformResourceType: 'tfe_workspace_run_task', terraformGeneratorMetadata: { providerName: 'tfe', - providerVersion: '0.40.0', + providerVersion: '0.41.0', providerVersionConstraint: '~> 0.33' }, provider: config.provider, diff --git a/src/workspace-variable-set/index.ts b/src/workspace-variable-set/index.ts index 758e72e21..2dc44b272 100644 --- a/src/workspace-variable-set/index.ts +++ b/src/workspace-variable-set/index.ts @@ -50,7 +50,7 @@ export class WorkspaceVariableSet extends cdktf.TerraformResource { terraformResourceType: 'tfe_workspace_variable_set', terraformGeneratorMetadata: { providerName: 'tfe', - providerVersion: '0.40.0', + providerVersion: '0.41.0', providerVersionConstraint: '~> 0.33' }, provider: config.provider, diff --git a/src/workspace/index.ts b/src/workspace/index.ts index bd71d2c8d..a89ba5b59 100644 --- a/src/workspace/index.ts +++ b/src/workspace/index.ts @@ -307,7 +307,7 @@ export class Workspace extends cdktf.TerraformResource { terraformResourceType: 'tfe_workspace', terraformGeneratorMetadata: { providerName: 'tfe', - providerVersion: '0.40.0', + providerVersion: '0.41.0', providerVersionConstraint: '~> 0.33' }, provider: config.provider, @@ -599,6 +599,11 @@ export class Workspace extends cdktf.TerraformResource { return this._remoteStateConsumerIds; } + // resource_count - computed: true, optional: false, required: false + public get resourceCount() { + return this.getNumberAttribute('resource_count'); + } + // speculative_enabled - computed: false, optional: true, required: false private _speculativeEnabled?: boolean | cdktf.IResolvable; public get speculativeEnabled() { diff --git a/yarn.lock b/yarn.lock index 56b28cc28..5334ec026 100644 --- a/yarn.lock +++ b/yarn.lock @@ -160,9 +160,9 @@ jsii-srcmak "^0.1.741" "@cdktf/provider-project@^0.2.8": - version "0.2.86" - resolved "https://registry.yarnpkg.com/@cdktf/provider-project/-/provider-project-0.2.86.tgz#5166471f4b5b987b6eec35456e2a21d8d9e86978" - integrity sha512-0kp46Mh1bCaA6qyfWSfIiqcsEZd7ectrclTx+mckr99zySRlmfle8ozpGn6b/3gS++t+XE3wAiE4JezmKF6AbQ== + version "0.2.88" + resolved "https://registry.yarnpkg.com/@cdktf/provider-project/-/provider-project-0.2.88.tgz#f2c8f005e328e260b129eb18235648b89e14063b" + integrity sha512-L7DlrgtGTXwCx3YqrVnlgIg9Zj4nrwqFV8OKozSDSLwvD4JLOr5lBAQxzqNi6UfKE+EDLHC3Lc8j3fS5OWt7WQ== dependencies: change-case "^4.1.2" fs-extra "^10.1.0" @@ -3297,10 +3297,10 @@ progress@^2.0.3: resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.3.tgz#7e8cf8d8f5b8f239c1bc68beb4eb78567d572ef8" integrity sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA== -projen@^0.66.9: - version "0.66.9" - resolved "https://registry.yarnpkg.com/projen/-/projen-0.66.9.tgz#abc88b08c276912652f15e40f677db380ad484b4" - integrity sha512-lfjcKUSMOZ7RZ6h4sbwJgp1TAcchT9RFPehP7geV/2bIQfrBMc1rVL3ksKN3GYepcSEkgEn/6seL5Dy2Wzo0Ew== +projen@^0.67.0: + version "0.67.0" + resolved "https://registry.yarnpkg.com/projen/-/projen-0.67.0.tgz#8983da9bc9295f13190933d0250df83a191ce940" + integrity sha512-ooURFs8kBWQhRXx91NHUGvQL4EWE5trDXtZStXEx2Tq4+RN1XoaiKug0h/5g6RQXvk6nPgzCYyho2dr0dul0NQ== dependencies: "@iarna/toml" "^2.2.5" case "^1.6.3"