Skip to content

Update to get rid of sensitive file warning from terraform #69

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

Merged
merged 2 commits into from
Mar 24, 2022

Conversation

brunzefb
Copy link
Contributor

what

  • Updated to local_sensitive_file resource, changed provider versions.

why

  • This removes a terraform warning

@brunzefb brunzefb requested review from a team as code owners March 23, 2022 21:35
@brunzefb brunzefb requested review from a team as code owners March 23, 2022 21:35
@brunzefb brunzefb requested review from Makeshift and RothAndrew and removed request for a team March 23, 2022 21:35
@Gowiem
Copy link
Member

Gowiem commented Mar 24, 2022

/test all

@Gowiem Gowiem self-requested a review March 24, 2022 14:37
@Gowiem Gowiem added the patch A minor, backward compatible change label Mar 24, 2022
Copy link
Member

@Gowiem Gowiem left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@Gowiem Gowiem merged commit 80941f1 into cloudposse:master Mar 24, 2022
@Gowiem
Copy link
Member

Gowiem commented Mar 24, 2022

@brunzefb Thanks for the contribution! Released as https://github.com/cloudposse/terraform-aws-key-pair/releases/tag/0.18.3

@ekristen
Copy link

@Gowiem I believe this should have been a major release instead of a patch.

Reasoning:

  • the underlying providers where revved major versions.
  • aws from 2 to 3
  • local from 1 to 2

Background:

  • I use renovatebot and make merge decisions based on semver and tests and changelog. Thankfully my tests caught this.

I believe 1.18.3 should be removed and 2.0.0 be created in its place or a note should be placed on 1.18.3 indicating it's a breaking change and create a 2.0.0 as well.

Thoughts?

@Gowiem
Copy link
Member

Gowiem commented Mar 24, 2022

@ekristen Good catch. Few things:

  1. Cloud Posse has been avoiding major releases across all our modules similar to how Terraform was managed prior to v1.0 -- We believe we haven't reached a stable 1.0 release for our modules yet since Terraform wasn't 1.0.
  2. That said, I could see this being a minor version bump instead of a patch which would get us closer to what you're thinking.
  3. Lastly, I shouldn't have allowed the AWS provider version bump as it's unnecessary: This doesn't change our AWS provider functionality so therefore there is no reason to block usage of the 2.x AWS provider.

Considering that I will make some updates later today to push out a 0.19 release which reverts the 3.x requirement. I'll also leave a note on the release of 1.18.3. More to come later today -- Thanks for surfacing so quickly.

@Gowiem Gowiem mentioned this pull request Mar 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch A minor, backward compatible change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants