Closed karvounis closed 3 years ago
/test all
/rebuild-readme
/test all
hmmmm why is test/bats failing? how can I fix that?
@karvounis in versions.tf
change the module pinning to use the format shown here: https://www.terraform.io/docs/modules/sources.html#terraform-registry
E.g.
module "consul" {
source = "hashicorp/consul/aws"
version = "0.1.0"
}
Sorry @joe-niland I do not understand why module pinning is going to work and pass the tests. The repo is not using any modules at all just the local
provider.
https://github.com/cloudposse/terraform-aws-ec2-instance-group/blob/master/versions.tf
https://github.com/cloudposse/terraform-aws-vpn-connection/blob/master/versions.tf
The above 2 repos do not have module pinning and they still pass the tests.
This is my first contribution to a cloudposse repo and I do not know the drill :)
@karvounis sorry for the confusing response. When I wrote module I meant provider.
It needs to be done in the same way as the VPN module. The other one would not pass if a new PR was opened.
If you change versions.tf
to that style, the bats test should pass.
/test all
/test all
what
resourceRequirements
is added based on https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ContainerDefinition.htmlResourceRequirement
objects https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ResourceRequirement.htmlwhy
resourceRequirements
was missing and I was not able to add a GPU requirement to the container definitionreferences
closes #105