Skip to content

Fix configure type error - #2

Open
ennyjfrick wants to merge 60 commits into
mainfrom
ejf/add-account-observability-resource
Open

Fix configure type error#2
ennyjfrick wants to merge 60 commits into
mainfrom
ejf/add-account-observability-resource

Conversation

@ennyjfrick

Copy link
Copy Markdown
Owner

No description provided.

brendan-myers and others added 15 commits August 13, 2024 11:29
* Update namespace_resource.go

Changing the name from "global" to "multi-region" and mentioning that creation of multi-region namespaces is unsupported by the Terraform provider

* regen docs

---------

Co-authored-by: Nikitha Suryadevara <nikitha.suryadevara@temporal.io>
Co-authored-by: Nikitha Suryadevara <nikitha.suryadevara@gmail.com>
…lue (temporalio#112)

This commit constructs an EncodedCAValue in `ValueFromString` directly from the passed-in StringValue instead of roundtripping through a string. By coercing the StringValue into a string, we unintentionally collapsed unknown and null strings into the empty string "", which causes Terraform to detect an invalid plan (an unknown property must remain unknown and not become any other value during the plan).
These CAs expired, so we gotta replace them.
Co-authored-by: Nikitha Suryadevara <nikithasuryadevara@Nikithas-MacBook-Pro-2.local>
…ient Issue temporalio#120 (temporalio#121)

* reset my branch with main, refactored client.go to use the sdk client. refactored all other .go files to use the sdk provided protos

* change client references within resource.go files

* udpated datasources

* clean up of client.go.

* added go/sdk to the README under Requirements

* added go/sdk to the README under Requirements
* add service account resource

* add docs
* add apikey resource

* fixes

* add disabled opt

* update test to use SA

* also add token
…tive (temporalio#137)

* updated namespace_search_attribute_resource.go and _test to make Type a case insensitive fied. Changed one of the tests to use an upper case Type value.
* go provider/user_resource: owner account_access

I am experiencing an issue after Account Owners have been assigned to my account. I change the account_access for the users that are now AccountOwners from 'admin' --> 'owner' but terraform is complaining with:

│ Error: Invalid Attribute Value Match
| Attribute account_access value must be one of: ['admin' 'developer' 'read'], got: 'owner'

If I don't do this, then our terraform consistently fails because Temporal reports these users as owners but our tf state has no drifted from what is actually in cloud.

This commit adds 'owner' as a valid value for the user.account_access attribute to fix this.

* added a minor comment to the account_access chema element

* added a minor comment to the user resource doc.

* removed a minor comment to the user resource doc.

* removed a minor comment to the user resource doc.

* removed a minor comment to the user resource doc.

---------

Co-authored-by: Jonathan Lacefield <jlacefie@gmail.com>
* set apikey auth for namespaces

* comments

* docs

* remove client_version

* upgrade temporal cloud api client version

* c

---------

Co-authored-by: Sean Gillespie <sean.gillespie@temporal.io>
temporalio#141)

* updated the grp address and added the mtls grp address to the namespace.resource

* generate resolution
@ennyjfrick
ennyjfrick force-pushed the ejf/add-account-observability-resource branch 2 times, most recently from 71041da to acca221 Compare October 23, 2024 17:14
@ennyjfrick
ennyjfrick force-pushed the ejf/add-account-observability-resource branch from 014570e to 9f7f783 Compare October 31, 2024 22:13
jlacefie and others added 8 commits November 1, 2024 20:19
* Update all go modules

* a fix
* Initial Contributing.MD

* Issues/PR and review language added

* updates for CLA, license headers, and general improvements

* updated the doc for Namespace ca certs and all resource import examples

* run go generate

---------

Co-authored-by: Abhinav Nekkanti <10552725+anekkanti@users.noreply.github.com>
* Update CODEOWNERS

* switch to saas team
anekkanti and others added 21 commits November 18, 2024 15:00
Co-authored-by: Jonathan Lacefield <jlacefie@gmail.com>
Co-authored-by: Brian Kassouf <briankassouf@users.noreply.github.com>
…alio#184)

* Add basic schema unit tests

* Undo unneeded env var check

---------

Co-authored-by: Jonathan Lacefield <jlacefie@gmail.com>
…mespace access list (temporalio#177)

* User: use the correct object attributes when building the namespace access list

* Correctly pass the diag object

* Improve diagnostic handling

---------

Co-authored-by: Jonathan Lacefield <jlacefie@gmail.com>
….0 (temporalio#189)

Bumps [github.com/hashicorp/terraform-plugin-testing](https://github.com/hashicorp/terraform-plugin-testing) from 1.4.0 to 1.11.0.
- [Release notes](https://github.com/hashicorp/terraform-plugin-testing/releases)
- [Changelog](https://github.com/hashicorp/terraform-plugin-testing/blob/main/CHANGELOG.md)
- [Commits](hashicorp/terraform-plugin-testing@v1.4.0...v1.11.0)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/terraform-plugin-testing
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Brian Kassouf <briankassouf@users.noreply.github.com>
Bumps [go.temporal.io/api](https://github.com/temporalio/api-go) from 1.41.0 to 1.42.0.
- [Release notes](https://github.com/temporalio/api-go/releases)
- [Commits](temporalio/api-go@v1.41.0...v1.42.0)

---
updated-dependencies:
- dependency-name: go.temporal.io/api
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…o#188)

* Start work on switching from lists to sets on unordered data

* Add validation for setting the same namespace twice

* Add validation to the user set

* Update error message

* Fix validation logic

* Fix builds

* Fix build

* Fix tests

* Add testing for order of namespace access entries
* API Keys: Do not allow importing

* Add test steps for import

* Fix test
Bumps [go.temporal.io/api](https://github.com/temporalio/api-go) from 1.42.0 to 1.43.0.
- [Release notes](https://github.com/temporalio/api-go/releases)
- [Commits](temporalio/api-go@v1.42.0...v1.43.0)

---
updated-dependencies:
- dependency-name: go.temporal.io/api
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Brian Kassouf <briankassouf@users.noreply.github.com>
Bumps [go.temporal.io/sdk](https://github.com/temporalio/sdk-go) from 1.30.0 to 1.30.1.
- [Release notes](https://github.com/temporalio/sdk-go/releases)
- [Commits](temporalio/sdk-go@v1.30.0...v1.30.1)

---
updated-dependencies:
- dependency-name: go.temporal.io/sdk
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…temporalio#196)

Bumps [github.com/hashicorp/terraform-plugin-docs](https://github.com/hashicorp/terraform-plugin-docs) from 0.18.0 to 0.20.1.
- [Release notes](https://github.com/hashicorp/terraform-plugin-docs/releases)
- [Changelog](https://github.com/hashicorp/terraform-plugin-docs/blob/main/CHANGELOG.md)
- [Commits](hashicorp/terraform-plugin-docs@v0.18.0...v0.20.1)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/terraform-plugin-docs
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Brian Kassouf <briankassouf@users.noreply.github.com>
* Add unordered list type

* Add tests

* Fix typo

* generate docs

* Undo framework upgrade

* go mod tidy

* Fix linter issues
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.68.0 to 1.68.1.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.68.0...v1.68.1)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Brian Kassouf <briankassouf@users.noreply.github.com>
Bumps [go.temporal.io/sdk](https://github.com/temporalio/sdk-go) from 1.30.1 to 1.31.0.
- [Release notes](https://github.com/temporalio/sdk-go/releases)
- [Commits](temporalio/sdk-go@v1.30.1...v1.31.0)

---
updated-dependencies:
- dependency-name: go.temporal.io/sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.29.0 to 0.31.0.
- [Commits](golang/crypto@v0.29.0...v0.31.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…2.0 (temporalio#213)

Bumps [github.com/grpc-ecosystem/go-grpc-middleware/v2](https://github.com/grpc-ecosystem/go-grpc-middleware) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/grpc-ecosystem/go-grpc-middleware/releases)
- [Commits](grpc-ecosystem/go-grpc-middleware@v2.1.0...v2.2.0)

---
updated-dependencies:
- dependency-name: github.com/grpc-ecosystem/go-grpc-middleware/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.68.1 to 1.69.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.68.1...v1.69.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Brian Kassouf <briankassouf@users.noreply.github.com>
@ennyjfrick
ennyjfrick force-pushed the ejf/add-account-observability-resource branch from a20904b to c551ed4 Compare December 13, 2024 21:55
dependabot Bot and others added 7 commits December 16, 2024 14:39
…oralio#215)

Bumps [github.com/hashicorp/terraform-plugin-framework-validators](https://github.com/hashicorp/terraform-plugin-framework-validators) from 0.15.0 to 0.16.0.
- [Release notes](https://github.com/hashicorp/terraform-plugin-framework-validators/releases)
- [Changelog](https://github.com/hashicorp/terraform-plugin-framework-validators/blob/main/CHANGELOG.md)
- [Commits](hashicorp/terraform-plugin-framework-validators@v0.15.0...v0.16.0)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/terraform-plugin-framework-validators
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Brian Kassouf <briankassouf@users.noreply.github.com>
@ennyjfrick
ennyjfrick force-pushed the ejf/add-account-observability-resource branch from 50423ca to 76bf4bd Compare January 9, 2025 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants