Skip to content

Commit

Permalink
Merge branch 'main' into f-role-chaining
Browse files Browse the repository at this point in the history
# Conflicts:
#	go.mod
#	go.sum
  • Loading branch information
ewbankkit committed Sep 26, 2024
2 parents b28be42 + 9631d3e commit f9034a2
Show file tree
Hide file tree
Showing 120 changed files with 11,249 additions and 271 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/documentation-linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
markdown-link-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- uses: gaurav-nelson/github-action-markdown-link-check@d53a906aa6b22b8979d33bc86170567e619495ec # 1.0.15
with:
use-quiet-mode: "yes"
Expand All @@ -30,7 +30,7 @@ jobs:
markdown-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- uses: avto-dev/markdown-lint@04d43ee9191307b50935a753da3b775ab695eceb # v1.5.0
with:
config: ".markdownlint.yml"
Expand All @@ -39,7 +39,7 @@ jobs:
misspell:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version-file: tools/go.mod
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/feed-approval.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Community Check
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
with:
sparse-checkout: .github/actions/community_check

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/feed-comments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Community Check
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
with:
sparse-checkout: .github/actions/community_check

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/goreleaser-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
outputs:
goreleaser: ${{ steps.filter.outputs.goreleaser }}
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
id: filter
with:
Expand All @@ -34,7 +34,7 @@ jobs:
if: ${{ needs.changes.outputs.goreleaser == 'true' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version-file: go.mod
Expand All @@ -53,7 +53,7 @@ jobs:
# Ref: https://github.com/hashicorp/terraform-provider-awscc/issues/533
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version-file: go.mod
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/labelers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:

steps:
- name: Checkout Community Check
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
with:
sparse-checkout: .github/actions/community_check

Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
name: go mod download
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version-file: tools/go.mod
Expand All @@ -40,7 +40,7 @@ jobs:
needs: [go_mod_download]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version-file: tools/go.mod
Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:
needs: [go_mod_download]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version-file: tools/go.mod
Expand Down Expand Up @@ -98,15 +98,15 @@ jobs:
semgrep:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- name: semgrep
uses: returntocorp/semgrep-action@713efdd345f3035192eaa63f56867b88e63e4e5d # v1

importlint:
needs: [go_mod_download]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version-file: tools/go.mod
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/projects.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
private-key: ${{ secrets.APP_PEM }}

- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
with:
sparse-checkout: .github/actions/

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull_request_feed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Community Check
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
with:
sparse-checkout: .github/actions/community_check

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
release-notes:
runs-on: macos-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
with:
fetch-depth: 0
- name: Generate Release Notes
Expand Down Expand Up @@ -48,7 +48,7 @@ jobs:
outputs:
tag: ${{ steps.highest-version-tag.outputs.tag }}
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
with:
# Allow tag to be fetched when ref is a commit
fetch-depth: 0
Expand All @@ -71,7 +71,7 @@ jobs:
with:
app-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.APP_PEM }}
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
with:
fetch-depth: 0
ref: main
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tfplugindocs-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
name: tfplugindocs check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version-file: tools/go.mod
Expand Down
2 changes: 1 addition & 1 deletion .go-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.22.6
1.22.7
16 changes: 15 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,27 @@
## 1.15.0 (Unreleased)
## 1.16.0 (Unreleased)

FEATURES:

* provider: Adds support for IAM role chaining. The provider attribute `assume_role` now accepts multiple elements.

* **New Data Source:** `awscc_events_connection`
* **New Resource:** `awscc_events_connection`

## 1.15.0 (September 19, 2024)

BUG FIXES:

* Prevent resource drift when default value is not set on a `required` attribute during refresh ([#2022](https://github.com/hashicorp/terraform-provider-awscc/pull/2022))

FEATURES:

* **New Data Source:** `awscc_connect_agent_status`
* **New Data Source:** `awscc_connect_user_hierarchy_structure`
* **New Data Source:** `awscc_datazone_environment_actions`
* **New Resource:** `awscc_connect_agent_status`
* **New Resource:** `awscc_connect_user_hierarchy_structure`
* **New Resource:** `awscc_datazone_environment_actions`

## 1.14.0 (September 12, 2024)

FEATURES:
Expand Down
42 changes: 42 additions & 0 deletions docs/data-sources/connect_agent_status.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "awscc_connect_agent_status Data Source - terraform-provider-awscc"
subcategory: ""
description: |-
Data Source schema for AWS::Connect::AgentStatus
---

# awscc_connect_agent_status (Data Source)

Data Source schema for AWS::Connect::AgentStatus



<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `id` (String) Uniquely identifies the resource.

### Read-Only

- `agent_status_arn` (String) The Amazon Resource Name (ARN) of the agent status.
- `description` (String) The description of the status.
- `display_order` (Number) The display order of the status.
- `instance_arn` (String) The identifier of the Amazon Connect instance.
- `last_modified_region` (String) Last modified region.
- `last_modified_time` (Number) Last modified time.
- `name` (String) The name of the status.
- `reset_order_number` (Boolean) A number indicating the reset order of the agent status.
- `state` (String) The state of the status.
- `tags` (Attributes Set) An array of key-value pairs to apply to this resource. (see [below for nested schema](#nestedatt--tags))
- `type` (String) The type of agent status.

<a id="nestedatt--tags"></a>
### Nested Schema for `tags`

Read-Only:

- `key` (String) The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- `value` (String) The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
86 changes: 86 additions & 0 deletions docs/data-sources/connect_user_hierarchy_structure.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "awscc_connect_user_hierarchy_structure Data Source - terraform-provider-awscc"
subcategory: ""
description: |-
Data Source schema for AWS::Connect::UserHierarchyStructure
---

# awscc_connect_user_hierarchy_structure (Data Source)

Data Source schema for AWS::Connect::UserHierarchyStructure



<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `id` (String) Uniquely identifies the resource.

### Read-Only

- `instance_arn` (String) The identifier of the Amazon Connect instance.
- `user_hierarchy_structure` (Attributes) Information about the hierarchy structure. (see [below for nested schema](#nestedatt--user_hierarchy_structure))
- `user_hierarchy_structure_arn` (String) The identifier of the User Hierarchy Structure.

<a id="nestedatt--user_hierarchy_structure"></a>
### Nested Schema for `user_hierarchy_structure`

Read-Only:

- `level_five` (Attributes) Information about level five. (see [below for nested schema](#nestedatt--user_hierarchy_structure--level_five))
- `level_four` (Attributes) Information about level four. (see [below for nested schema](#nestedatt--user_hierarchy_structure--level_four))
- `level_one` (Attributes) Information about level one. (see [below for nested schema](#nestedatt--user_hierarchy_structure--level_one))
- `level_three` (Attributes) Information about level three. (see [below for nested schema](#nestedatt--user_hierarchy_structure--level_three))
- `level_two` (Attributes) Information about level two. (see [below for nested schema](#nestedatt--user_hierarchy_structure--level_two))

<a id="nestedatt--user_hierarchy_structure--level_five"></a>
### Nested Schema for `user_hierarchy_structure.level_five`

Read-Only:

- `hierarchy_level_arn` (String) The Amazon Resource Name (ARN) of the hierarchy level.
- `hierarchy_level_id` (String) The identifier of the hierarchy level.
- `name` (String) The name of the hierarchy level.


<a id="nestedatt--user_hierarchy_structure--level_four"></a>
### Nested Schema for `user_hierarchy_structure.level_four`

Read-Only:

- `hierarchy_level_arn` (String) The Amazon Resource Name (ARN) of the hierarchy level.
- `hierarchy_level_id` (String) The identifier of the hierarchy level.
- `name` (String) The name of the hierarchy level.


<a id="nestedatt--user_hierarchy_structure--level_one"></a>
### Nested Schema for `user_hierarchy_structure.level_one`

Read-Only:

- `hierarchy_level_arn` (String) The Amazon Resource Name (ARN) of the hierarchy level.
- `hierarchy_level_id` (String) The identifier of the hierarchy level.
- `name` (String) The name of the hierarchy level.


<a id="nestedatt--user_hierarchy_structure--level_three"></a>
### Nested Schema for `user_hierarchy_structure.level_three`

Read-Only:

- `hierarchy_level_arn` (String) The Amazon Resource Name (ARN) of the hierarchy level.
- `hierarchy_level_id` (String) The identifier of the hierarchy level.
- `name` (String) The name of the hierarchy level.


<a id="nestedatt--user_hierarchy_structure--level_two"></a>
### Nested Schema for `user_hierarchy_structure.level_two`

Read-Only:

- `hierarchy_level_arn` (String) The Amazon Resource Name (ARN) of the hierarchy level.
- `hierarchy_level_id` (String) The identifier of the hierarchy level.
- `name` (String) The name of the hierarchy level.
3 changes: 3 additions & 0 deletions docs/data-sources/datazone_environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,13 @@ Data Source schema for AWS::DataZone::Environment
- `description` (String) The description of the Amazon DataZone environment.
- `domain_id` (String) The identifier of the Amazon DataZone domain in which the environment is created.
- `domain_identifier` (String) The identifier of the Amazon DataZone domain in which the environment would be created.
- `environment_account_identifier` (String) The AWS account in which the Amazon DataZone environment is created.
- `environment_account_region` (String) The AWS region in which the Amazon DataZone environment is created.
- `environment_blueprint_id` (String) The ID of the blueprint with which the Amazon DataZone environment was created.
- `environment_id` (String) The ID of the Amazon DataZone environment.
- `environment_profile_id` (String) The ID of the environment profile with which the Amazon DataZone environment was created.
- `environment_profile_identifier` (String) The ID of the environment profile with which the Amazon DataZone environment would be created.
- `environment_role_arn` (String) Environment role arn for custom aws environment permissions
- `glossary_terms` (List of String) The glossary terms that can be used in the Amazon DataZone environment.
- `name` (String) The name of the environment.
- `project_id` (String) The ID of the Amazon DataZone project in which the environment is created.
Expand Down
39 changes: 39 additions & 0 deletions docs/data-sources/datazone_environment_actions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "awscc_datazone_environment_actions Data Source - terraform-provider-awscc"
subcategory: ""
description: |-
Data Source schema for AWS::DataZone::EnvironmentActions
---

# awscc_datazone_environment_actions (Data Source)

Data Source schema for AWS::DataZone::EnvironmentActions



<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `id` (String) Uniquely identifies the resource.

### Read-Only

- `description` (String) The description of the Amazon DataZone environment action.
- `domain_id` (String) The identifier of the Amazon DataZone domain in which the environment is created.
- `domain_identifier` (String) The identifier of the Amazon DataZone domain in which the environment would be created.
- `environment_actions_id` (String) The ID of the Amazon DataZone environment action.
- `environment_id` (String) The identifier of the Amazon DataZone environment in which the action is taking place
- `environment_identifier` (String) The identifier of the Amazon DataZone environment in which the action is taking place
- `identifier` (String) The ID of the Amazon DataZone environment action.
- `name` (String) The name of the environment action.
- `parameters` (Attributes) The parameters of the environment action. (see [below for nested schema](#nestedatt--parameters))

<a id="nestedatt--parameters"></a>
### Nested Schema for `parameters`

Read-Only:

- `uri` (String) The URI of the console link specified as part of the environment action.
Loading

0 comments on commit f9034a2

Please sign in to comment.