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

OpenTofu support #98

Merged
merged 12 commits into from
Jun 6, 2024
Merged

OpenTofu support #98

merged 12 commits into from
Jun 6, 2024

Conversation

goruha
Copy link
Member

@goruha goruha commented May 22, 2024

what

  • Get rid of shared Chatops workflow
  • Test opentofu
  • Added migration terratest >= 0.46.0

why

  • Simplify nested levels
  • Support opentofu

References

@goruha goruha requested review from a team as code owners May 22, 2024 11:13
@goruha goruha requested review from hans-d and jamengual May 22, 2024 11:13
@mergify mergify bot added triage Needs triage needs-cloudposse Needs Cloud Posse assistance labels May 22, 2024
Copy link

mergify bot commented May 22, 2024

Important

Cloud Posse Engineering Team Review Required

This pull request modifies files that require Cloud Posse's review. Please be patient, and a core maintainer will review your changes.

To expedite this process, reach out to us on Slack in the #pr-reviews channel.

@goruha goruha changed the title Get rid of shared chatops workflow OpenToFu support May 23, 2024
@goruha goruha requested a review from a team as a code owner May 23, 2024 15:32
@osterman osterman changed the title OpenToFu support OpenTofu support May 23, 2024
Comment on lines 3 to 14
function update_terratest() {
if [ -f test/src/go.mod ]; then
info "Updating terratest"
cd test/src
go get -u github.com/gruntwork-io/terratest
go mod tidy
cd -

git add test/src/go.mod
git add test/src/go.sum
fi
}
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm worried about this. The upgrade will upgrade not just Terratest, but also its dependencies, and I fear it will cause spurious failures.

For example, terratest v0.44.0 requires go version 1.21 or later. Many of our tests are still at go 1.20, and some even older.

Also, terratest v0.46.8:

Updated k8s.io/apimachinery from v0.27.2 to v0.28.4.
Updated k8s.io/client-go from v0.27.2 to v0.28.4.

This means that if we have examples deploying Kubernetes clusters version 1.26 or older, we run the risk of having client errors.

I think we need to be cautious about this.

update_terratest

# Merge the PR
auto_merge
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's please make sure that the merge does not trigger a new release of the module.

Copy link
Member

Choose a reason for hiding this comment

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

Agree!

Copy link
Member

Choose a reason for hiding this comment

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

We automatically add no-release label to PRs programmatically generated.

@goruha goruha requested review from osterman and Nuru June 6, 2024 17:02
@goruha goruha merged commit c969d44 into main Jun 6, 2024
5 checks passed
@goruha goruha deleted the opentofu branch June 6, 2024 17:22
@mergify mergify bot removed needs-cloudposse Needs Cloud Posse assistance triage Needs triage labels Jun 6, 2024
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.

3 participants