cloudposse-archives / terraform-aws-jenkins

Terraform module to build Docker image with Jenkins, save it to an ECR repo, and deploy to Elastic Beanstalk running Docker stack
https://cloudposse.com/accelerate
Apache License 2.0
256 stars 152 forks source link

Version Problems #41

Closed scottwinkler closed 5 years ago

scottwinkler commented 5 years ago

I get a strange error for tags from one of the nested modules, even though i have tags set:

* module.jenkins.module.label_slaves.data.null_data_source.tags_as_list_of_maps: data.null_data_source.tags_as_list_of_maps: value of 'count' cannot be computed

tags:

...
  tags = {
    BusinessUnit = "ABC"
    Department   = "XYZZ"
  }

I am using terraform v0.11.13, null v2.1.2, random v2.1.2, aws v2.9.0. I am concerned that this module only works for a very particular set of versions or something like that.

Also, when I comment out all the references to the terraform-null-label module, I get new errors:

Error: Error running plan: 60 error(s) occurred:

* module.jenkins.module.efs_backup.module.datapipeline_label.output.namespace: Resource 'null_resource.default' does not have attribute 'triggers.namespace' for variable 'null_resource.default.triggers.namespace'
* module.jenkins.module.efs_backup.module.backups_label.output.name: Resource 'null_resource.default' does not have attribute 'triggers.name' for variable 'null_resource.default.triggers.name'

I am not so sure about this error. I tried switching to different versions of the null provider, but I get the same error no matter what.

aknysh commented 5 years ago

addressed in https://github.com/cloudposse/terraform-aws-jenkins/releases/tag/0.6.0