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

add vault_update_policy_type parameter #125

Merged
merged 3 commits into from
Feb 15, 2021

Conversation

mark-00
Copy link
Contributor

@mark-00 mark-00 commented Feb 11, 2021

When changing the loadbalancer from external to internal the instance were not recreated and vault was unreachable

Add vault_update_policy_type parameter for the instance group so the type can be chanched to PROACTIVE as needed

Default value of the parameter is OPPORTUNISTIC to not change the default behavoir altought a PROACTIVE approach is problably better.

@mark-00 mark-00 requested review from onetwopunch and a team as code owners February 11, 2021 14:45
@comment-bot-dev
Copy link

comment-bot-dev commented Feb 11, 2021

Thanks for the PR! 🚀
✅ Lint checks have passed.

@mark-00
Copy link
Contributor Author

mark-00 commented Feb 11, 2021

Can you tell me what went wrong with the linting? I have no access to the see the details of the test

@onetwopunch
Copy link
Contributor

onetwopunch commented Feb 11, 2021

Thanks for the PR! It seems lint is still failing on generating the docs. This can happen if you have a more recent version of the devtools container than Cloud Build is using. The one we're using in this repo is: gcr.io/cloud-foundation-cicd/cft/developer-tools:0.12.0 Is that the same one you have locally?

Additionally, once you have that container locally you can run make docker_test_lint which runs the same lint tests as Cloud Build so you can verify before pushing

@mark-00
Copy link
Contributor Author

mark-00 commented Feb 12, 2021

THis is in the makefile so that is the version I use

DOCKER_TAG_VERSION_DEVELOPER_TOOLS := 0
DOCKER_IMAGE_DEVELOPER_TOOLS := cft/developer-tools
REGISTRY_URL := gcr.io/cloud-foundation-cicd

@mark-00
Copy link
Contributor Author

mark-00 commented Feb 12, 2021

Nice. using 0.12.0 worked. All tests passed

Copy link
Contributor

@onetwopunch onetwopunch left a comment

Choose a reason for hiding this comment

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

LGTM thanks for this PR!

@onetwopunch onetwopunch merged commit d25ae6a into terraform-google-modules:master Feb 15, 2021
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.

None yet

3 participants