cattle-ops / terraform-aws-gitlab-runner

Terraform module for AWS GitLab runners on ec2 (spot) instances
https://registry.terraform.io/modules/cattle-ops/gitlab-runner/aws
MIT License
586 stars 331 forks source link

Need quotes for update_interval and update_interval_when_expecting config values #1176

Closed pokidovea closed 3 months ago

pokidovea commented 3 months ago

Describe the bug

update_interval and update_interval_when_expecting config values are rendered without quotes what leads to the parsing error:

    update_interval = 1m
    update_interval_when_expecting = 2s

Unexpected character, expected only whitespace or comments till end of line

Adding quotes like below solves the problem

    update_interval = "1m"
    update_interval_when_expecting = "2s"

Additional info

terraform-aws-gitlab-runner v7.13.0

kayman-mk commented 3 months ago

Arrgh, that's true.