-
Notifications
You must be signed in to change notification settings - Fork 24
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 pinning of machine_type #149
base: main
Are you sure you want to change the base?
Conversation
not sure what it causing exactly the error in the CI run but I have just enabled workflows in the forked repo, so maybe you can try running it again 👍 |
@dimisjim, this docker oneliner should inject the fix locally: docker run --rm --volume "$(pwd):/terraform-docs" -u $(id -u) quay.io/terraform-docs/terraform-docs:0.17.0 markdown --output-file README.md --output-mode inject /terraform-docs Could you please run this, rebase and squash the commits? Source: https://github.com/terraform-docs/terraform-docs?tab=readme-ov-file#using-docker |
add cos_image_name to container module, by only using the last element of the string tf fmt tf fmt fix ran terraform-docs
cool, should be done 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @dimisjim, thanks for taking the time to submit this pull request - good catch! 👏🏼
What would occur if a user doesn't specify the machine_image
variable? Given that the default is null, I anticipate the following error: Invalid value for "str" parameter: argument must not be null.
Please correct me if I'm mistaken.
Thanks for the feedback @bschaatsbergen Good catch! Fix is provided here: dimisjim@ea2a22a |
LGTM |
Sorry for the delayed review on my side, I need to test whether this could be a breaking change or not.. have you already tested it on your side @dimisjim? |
@bschaatsbergen yes, works as expected |
Hello, Is something blocking this? |
Might I suggest also parsing |
what
Achieve pinning of COS image by fixing behavior of machine_image var and input to downstream container module
why
references