Skip to content

Conversation

@bgandon
Copy link

@bgandon bgandon commented Jan 22, 2024

SUMMARY

When creating a service account key with the google.cloud.gcp_iam_service_account_key module, when the service_account.name was incorrect, the 404 error was improperly interpreted as normal business, and resulted in a cryptic stacktrace. Plus, the gcp_iam_service_account_key module had no integration test at all.

Here we fix the above issue and we add proper integration test cases.

Fixes: #244

ISSUE TYPE

Bugfix Pull Request

COMPONENT NAME

This affects the google.cloud.gcp_iam_service_account_key module only.

ADDITIONAL INFORMATION

Passing tests: ansible-test integration "gcp_iam_service_account_key".

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.

gcp_iam_service_account_key - TypeError: 'NoneType' object is not subscriptable

1 participant