terraform-aws-gitlab-runner icon indicating copy to clipboard operation
terraform-aws-gitlab-runner copied to clipboard

fix: avoid creating some resources if runners_executor is not docker+machine

Open halilkaya opened this issue 4 years ago • 6 comments
trafficstars

Description

No need to create the some resources that are directly relevant to docker machine since variable runners_executor does not have value docker+machine.

Migrations required

NO - If yes please describe the migration.

Verification

Please mention the examples you have verified.

Documentation

We use pre-commit to update the Terraform inputs and outputs in the documentation via terraform-docs. Ensure you have installed those components.

halilkaya avatar Sep 17 '21 14:09 halilkaya

Hi @npalm , could you please review this MR? I'd like to hear your feedback.

halilkaya avatar Oct 01 '21 08:10 halilkaya

Hi @npalm , could you please review this MR? I'd like to hear your feedback.

Thx for the reminder, will check over the weekend. Was on holiday 🌴 last month

npalm avatar Oct 01 '21 14:10 npalm

@npalm It was my bad. I pushed a new commit that contains fix for that error and some terraform fmt changes as well. terraform validate should no longer throw an error relevant to these changes.

halilkaya avatar Oct 05 '21 08:10 halilkaya

I think it's failed because of formatting it with the newer version of Terraform. I re-ran the terraform fmt command with Terraform 0.12 and pushed it. Verify module step should pass now.

halilkaya avatar Oct 05 '21 19:10 halilkaya

I have updated several versions, including terraform. The modules can now be developed with the latest Terraform version. For usages it still supports older versions. Please can you rebase to the latest commit on develop? git rebase -i develop

npalm avatar Oct 09 '21 09:10 npalm

@halilkaya did you have time to have a look on the remarks made in the review?

npalm avatar Oct 25 '21 20:10 npalm