Skip to content

Commit

Permalink
[New Resource]: aws_finspace_kx_environment (#31802)
Browse files Browse the repository at this point in the history
* Adds finspace_kx_environment resource

* Ran make servicepackages

* Formatting fixes to environment

* r/aws_finspace_kx_environment: alphabetize attributes

* r/aws_finspace_kx_environment(docs): terrafmt

* r/aws_finspace_kx_environment(docs): tidy import, example sections

* r/aws_finspace_kx_environment: handle deleted status in finder, update delete

* r/aws_finspace_kx_environment: simplify test configs

* r/aws_finspace_kx_environment(lint): rm unused return arg

* r/aws_finspace_kx_environment: crud handlers return diags

* r/aws_finspace_kx_environment: add name to registration

* r/aws_finspace_kx_environment: add UpdateTags flag

* r/aws_finspace_kx_environment: tag after creation

this workaround avoids a confirmed bug in the CreateKxEnvironment API
which does not properly apply tags when sent in the create request

* r/aws_finspace_kx_environment(docs): use standard tags, tags_all descriptions

* r/aws_finspace_kx_environment(docs): alphabetize

* chore: mdlint

* chore: changelog

* r/aws_finspace_kx_environment(test): add ctx to check funcs

* r/aws_finspace_kx_environment(test): golangci-lint

---------

Co-authored-by: Jared Baker <jared.baker@hashicorp.com>
  • Loading branch information
kavan-aws and jar-b authored Jun 8, 2023
1 parent 105d934 commit a805be5
Show file tree
Hide file tree
Showing 7 changed files with 1,217 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .changelog/31802.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:new-resource
aws_finspace_kx_environment
```
2 changes: 1 addition & 1 deletion internal/service/finspace/generate.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:generate go run ../../generate/tags/main.go -ServiceTagsMap -AWSSDKVersion=2 -KVTValues -ListTags -SkipTypesImp
//go:generate go run ../../generate/tags/main.go -ServiceTagsMap -AWSSDKVersion=2 -KVTValues -ListTags -CreateTags -UpdateTags -SkipTypesImp
// ONLY generate directives and package declaration! Do not add anything else to this file.

package finspace
Loading

0 comments on commit a805be5

Please sign in to comment.