Skip to content

Commit

Permalink
docs : add example for awscc_stepfunctions_state_machine_version
Browse files Browse the repository at this point in the history
  • Loading branch information
awsdannyc committed Aug 15, 2024
2 parents 9ca6d56 + 1c96f84 commit 71c6277
Show file tree
Hide file tree
Showing 655 changed files with 57,065 additions and 5,575 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/Bug_Report.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: 🐛 Bug Report
about: If something isn't working as expected 🤔.

labels: ["bug"]
---

<!---
Expand Down
6 changes: 3 additions & 3 deletions .github/actions/community_check/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,16 @@ runs:
id: core_contributor
if: inputs.core_contributors != ''
shell: bash
run: echo "check=$(echo $INPUT_CORE_CONTRIBUTORS | base64 --decode | jq --arg u $INPUT_USER_LOGIN '. | contains([$u])')" >> "$GITHUB_OUTPUT"
run: echo "check=$(echo ${{ inputs.core_contributors }} | base64 --decode | jq --arg u ${{ inputs.user_login }} '. | contains([$u])')" >> "$GITHUB_OUTPUT"

- name: Maintainers
id: maintainer
if: inputs.maintainers != ''
shell: bash
run: echo "check=$(echo $INPUT_MAINTAINERS | base64 --decode | jq --arg u $INPUT_USER_LOGIN '. | contains([$u])')" >> "$GITHUB_OUTPUT"
run: echo "check=$(echo ${{ inputs.maintainers }} | base64 --decode | jq --arg u ${{ inputs.user_login }} '. | contains([$u])')" >> "$GITHUB_OUTPUT"

- name: Partners
id: partner
if: inputs.partners != ''
shell: bash
run: echo "check=$(echo $INPUT_PARTNERS | base64 --decode | jq --arg u $INPUT_USER_LOGIN '. | contains([$u])')" >> "$GITHUB_OUTPUT"
run: echo "check=$(echo ${{ inputs.partners }} | base64 --decode | jq --arg u ${{ inputs.user_login }} '. | contains([$u])')" >> "$GITHUB_OUTPUT"
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
fetch-depth: 0
- name: Generate Release Notes
run: sed -n -e "1{/# /d;}" -e "2{/^$/d;}" -e "/# $(git describe --abbrev=0 --exclude="$(git describe --abbrev=0 --match='v*.*.*' --tags)" --match='v*.*.*' --tags | tr -d v)/q;p" CHANGELOG.md > release-notes.txt
- uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
- uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6
with:
name: release-notes
path: release-notes.txt
Expand Down Expand Up @@ -103,7 +103,7 @@ jobs:
steps:
- name: Save Release Tag
run: echo ${{ github.ref_name }} > release-tag.data
- uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
- uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6
with:
name: release-tag
path: release-tag.data
Expand Down
1 change: 1 addition & 0 deletions .go-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1.22.6
50 changes: 49 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,52 @@
## 1.7.0 (Unreleased)
## 1.11.0 (Unreleased)
## 1.10.0 (August 15, 2024)

FEATURES:

* **New Data Source:** `awscc_timestream_influx_db_instance`
* **New Data Source:** `awscc_timestream_influx_db_instances`
* **New Resource:** `awscc_timestream_influx_db_instance`

## 1.9.0 (August 8, 2024)

FEATURES:

* provider: Updated resource schemas

## 1.8.0 (August 1, 2024)

FEATURES:

* provider: Add `endpoints` argument
* **New Data Source:** `awscc_arczonalshift_autoshift_observer_notification_status`
* **New Data Source:** `awscc_arczonalshift_autoshift_observer_notification_statuses`
* **New Data Source:** `awscc_cleanrooms_id_mapping_table`
* **New Data Source:** `awscc_sagemaker_studio_lifecycle_config`
* **New Data Source:** `awscc_sagemaker_studio_lifecycle_configs`
* **New Resource:** `awscc_arczonalshift_autoshift_observer_notification_status`
* **New Resource:** `awscc_cleanrooms_id_mapping_table`
* **New Resource:** `awscc_sagemaker_studio_lifecycle_config`

## 1.7.0 (July 25, 2024)

FEATURES:

* **New Data Source:** `awscc_bedrock_flow_alias`
* **New Data Source:** `awscc_bedrock_flow_version`
* **New Data Source:** `awscc_bedrock_prompt`
* **New Data Source:** `awscc_bedrock_prompt_version`
* **New Data Source:** `awscc_bedrock_prompts`
* **New Data Source:** `awscc_glue_trigger`
* **New Data Source:** `awscc_glue_triggers`
* **New Data Source:** `awscc_secretsmanager_resource_policies`
* **New Data Source:** `awscc_secretsmanager_resource_policy`
* **New Resource:** `awscc_bedrock_flow_alias`
* **New Resource:** `awscc_bedrock_flow_version`
* **New Resource:** `awscc_bedrock_prompt`
* **New Resource:** `awscc_bedrock_prompt_version`
* **New Resource:** `awscc_glue_trigger`
* **New Resource:** `awscc_secretsmanager_resource_policy`

## 1.6.0 (July 18, 2024)

FEATURES:
Expand Down
28 changes: 19 additions & 9 deletions GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,38 +11,38 @@ default: build

all: schemas resources singular-data-sources plural-data-sources build docs

build:
build: prereq-go
$(GO_VER) install

plural-data-sources:
plural-data-sources: prereq-go
rm -f internal/*/*/*_plural_data_source_gen.go
rm -f internal/*/*/*_plural_data_source_gen_test.go
$(GO_VER) generate internal/provider/plural_data_sources.go
goimports -w internal/*/*/*_plural_data_source_gen.go
goimports -w internal/*/*/*_plural_data_source_gen_test.go

singular-data-sources:
singular-data-sources: prereq-go
rm -f internal/*/*/*_singular_data_source_gen.go
rm -f internal/*/*/*_singular_data_source_gen_test.go
$(GO_VER) generate internal/provider/singular_data_sources.go
goimports -w internal/*/*/*_singular_data_source_gen.go
goimports -w internal/*/*/*_singular_data_source_gen_test.go

resources:
resources: prereq-go
rm -f internal/*/*/*_resource_gen.go
rm -f internal/*/*/*_resource_gen_test.go
$(GO_VER) generate internal/provider/resources.go
goimports -w internal/*/*/*_resource_gen.go
goimports -w internal/*/*/*_resource_gen_test.go

schemas:
schemas: prereq-go
$(GO_VER) generate internal/provider/schemas.go

test:
test: prereq-go
$(GO_VER) test $(TEST) $(TESTARGS) -timeout=5m

# make testacc PKG_NAME=internal/aws/logs TESTARGS='-run=TestAccAWSLogsLogGroup_basic'
testacc:
testacc: prereq-go
TF_ACC=1 $(GO_VER) test ./$(PKG_NAME) -v -count $(TEST_COUNT) -parallel $(ACCTEST_PARALLELISM) $(TESTARGS) -timeout $(ACCTEST_TIMEOUT)

lint: golangci-lint importlint
Expand All @@ -55,14 +55,24 @@ importlint:
@echo "==> Checking source code with importlint..."
@impi --local . --scheme stdThirdPartyLocal --ignore-generated=true ./...

tools:
tools: prereq-go
cd tools && $(GO_VER) install github.com/golangci/golangci-lint/cmd/golangci-lint
cd tools && $(GO_VER) install github.com/pavius/impi/cmd/impi
cd tools && $(GO_VER) install github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs
cd tools && $(GO_VER) install golang.org/x/tools/cmd/goimports@latest

docs:
docs: prereq-go
$(GO_VER) run internal/provider/generators/import-examples/main.go
rm -f docs/data-sources/*.md
rm -f docs/resources/*.md
@tfplugindocs generate

prereq-go: ## If $(GO_VER) is not installed, install it
@if ! type "$(GO_VER)" > /dev/null 2>&1 ; then \
echo "make: $(GO_VER) not found" ; \
echo "make: installing $(GO_VER)..." ; \
echo "make: if you get an error, see https://go.dev/doc/manage-install to locally install various Go versions" ; \
go install golang.org/dl/$(GO_VER)@latest ; \
$(GO_VER) download ; \
echo "make: $(GO_VER) ready" ; \
fi
Loading

0 comments on commit 71c6277

Please sign in to comment.