Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: use regional data platform APIs #101

Merged
merged 2 commits into from
Jun 21, 2024
Merged

Conversation

andreainnocenti
Copy link
Contributor

@andreainnocenti andreainnocenti commented Jun 20, 2024

Description

Release required?

  • No release
  • Patch release (x.x.X)
  • Minor release (x.X.x)
  • Major release (X.x.x)
Release notes content

Run the pipeline

If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.

Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:

/run pipeline

Checklist for reviewers

  • If relevant, a test for the change is included or updated with this PR.
  • If relevant, documentation for the change is included or updated with this PR.

For mergers

  • Use a conventional commit message to set the release level. Follow the guidelines.
  • Include information that users need to know about the PR in the commit message. The commit message becomes part of the GitHub release notes.
  • Use the Squash and merge option.

@andreainnocenti
Copy link
Contributor Author

/run pipeline

@andreainnocenti andreainnocenti linked an issue Jun 20, 2024 that may be closed by this pull request
@andreainnocenti
Copy link
Contributor Author

/run pipeline

mkrudele
mkrudele previously approved these changes Jun 20, 2024
@andreainnocenti
Copy link
Contributor Author

/run pipeline

@@ -16,9 +16,22 @@ iam_id="$(echo "$token_decoded" | jq -r .iam_id)"
display_name="$(echo "$token_decoded" | jq -r .name)"
bss_account_id="$(echo "$token_decoded" | jq -r .account.bss)"

# shellcheck disable=SC2154
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why?

@@ -16,9 +16,22 @@ iam_id="$(echo "$token_decoded" | jq -r .iam_id)"
display_name="$(echo "$token_decoded" | jq -r .name)"
bss_account_id="$(echo "$token_decoded" | jq -r .account.bss)"

# shellcheck disable=SC2154
if [ "$location" == "us-south" ]; then
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why don't you use if [[ ]]?

@@ -13,9 +13,22 @@ jwt_decode(){
token_decoded="$(jwt_decode "$token")"
bss_account_id="$(echo "$token_decoded" | jq -r .account.bss)"

# shellcheck disable=SC2154
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above.

@andreainnocenti andreainnocenti merged commit a288906 into main Jun 21, 2024
2 checks passed
@andreainnocenti andreainnocenti deleted the fix_watson_endpoints branch June 21, 2024 07:32
@terraform-ibm-modules-ops
Copy link
Contributor

🎉 This PR is included in version 1.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

use regional data platform APIs Support deploying some of the watson services in jp-tok region.
3 participants