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

Document how to add marketplace agreement through Terraform #21

Open
kellystuard opened this issue Jun 13, 2024 · 0 comments · May be fixed by #22
Open

Document how to add marketplace agreement through Terraform #21

kellystuard opened this issue Jun 13, 2024 · 0 comments · May be fixed by #22

Comments

@kellystuard
Copy link

If using Terraform to accept the terms and conditions, the module needs an explicit dependency to ensure the resources are created in the proper order:

resource "azurerm_marketplace_agreement" "spacelift_worker" {
  publisher = "spaceliftinc1625499025476"
  offer     = "spacelift_worker"
  plan      = "ubuntu_20_04"
}

module "azure-worker" {
  source     = "github.com/spacelift-io/terraform-azure-spacelift-workerpool?ref=v0.1.0"
  depends_on = [ azurerm_marketplace_agreement.spacelift_worker ]

  [...]
}

More information can be found here.

kellystuard added a commit to kellystuard/terraform-azure-spacelift-workerpool that referenced this issue Jun 13, 2024
@kellystuard kellystuard linked a pull request Jun 13, 2024 that will close this issue
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant