I am getting number of similar errors on creation. There is a value in the data source “/lower_parameters/github/runners_app_id”
│ Error: error creating SSM parameter (/actions_runner/tst/github_app_id): InvalidParameter: 1 validation error(s) found.
│ - minimum field size of 1, PutParameterInput.Tags[0].Value.
│
│
│ with module.github_runners.module.ssm.aws_ssm_parameter.github_app_id,
│ on /Users/someuser/sourcecode/tf-mod-github-runners/modules/ssm/ssm.tf line 1, in resource “aws_ssm_parameter” “github_app_id”:
│ 1: resource “aws_ssm_parameter” “github_app_id” {
│
Any ideas how to solve or debug? Some of these are getting values from parameter store
Ex:
runners_app_id
data “aws_ssm_parameter” “runners_app_id” {
name = “/lower_parameters/github/runners_app_id”
}
runners_app_id = (
var.runners_app_id != “” ? (
var.runners_app_id) : data.aws_ssm_parameter.runners_app_id.value)
Versions:
Terraform v1.1.9
on darwin_arm64
- provider Terraform Registry v4.11.0
- provider Terraform Registry v3.1.3