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

feat: migrate to OpenTofu #1683

Merged
merged 1 commit into from
Mar 25, 2024
Merged

feat: migrate to OpenTofu #1683

merged 1 commit into from
Mar 25, 2024

Conversation

pivotal-marcela-campo
Copy link
Member

#187199931

Checklist:

  • Have you added Release Notes in the docs repositories?
  • Have you ran make run-integration-tests and make run-terraform-tests?
  • Have you ran acceptance tests for the service under change?
  • Have you followed the Conventional Commits specification?

@pivotal-marcela-campo pivotal-marcela-campo marked this pull request as ready for review March 25, 2024 10:12
source: https://github.com/hashicorp/terraform/archive/v1.5.7.zip
- name: tofu
version: 1.6.1
source: https://github.com/opentofu/opentofu/archive/refs/tags/v1.6.1.zip
Copy link
Contributor

Choose a reason for hiding this comment

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

question: I see that we have added this link in the other brokerpaks, but I was wondering why we now use refs/tags/v1.6.1.zip instead of archive/v1.6.1.zip. Is there an advantage?

Copy link
Member Author

Choose a reason for hiding this comment

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

not really, it is just the url I got from github.

@@ -68,11 +70,11 @@ func ShowPlan(dir string, vars map[string]any) tfjson.Plan {
}

func terraformPlanCMD(dir string, planFile string) *exec.Cmd {
Copy link
Contributor

Choose a reason for hiding this comment

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

question: do we want to change the name of the method and use func createPlanCMD(dir string, planFile string) *exec.Cmd {?

Copy link
Member Author

Choose a reason for hiding this comment

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

good spot, I'll pr that change separately in all the brokerpaks.

@pivotal-marcela-campo pivotal-marcela-campo merged commit 49fff62 into main Mar 25, 2024
8 checks passed
@pivotal-marcela-campo pivotal-marcela-campo deleted the feat_use_tofu branch March 25, 2024 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

2 participants