-
-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Help trying to use "ecs_service" #382
Comments
I've used the AWS "networkConfiguration": {
"awsvpcConfiguration": {
"subnets": [
"subnet-1234asd",
"subnet-2312asdas",
"subnet-123abc"
],
"securityGroups": [
"sg-abc123"
],
"assignPublicIp": "DISABLED"
}
} I've tried, to the best of my knowledge, to retrive the information, but I couldn't. |
So, I've tried to debug it by output the content (
Does it mean exactly what it reads? It's not yet implemented? Cheers. |
Hi @k1LoW awspec Version : 1.9.0 Am running awspec for ecs service by referring https://github.com/k1LoW/awspec/blob/master/doc/resource_types.md#ecs_service where am facing below error, ecs_service 'dev-1-organization' network_configuration should eq ["subnets=["subnet-xxxx, subnet-xxx"]", "security_groups=["sg-xxx"]", "assign_public_ip="DISABLED""] expected: ["subnets=["subnet-xxx, subnet-xxx"]", "security_groups=["sg-xxx"]", "assign_public_ip="DISABLED""] (compared using ==) Diff:
C:/Users/abcd/Terraform + InSpec/SAM/awspec/spec/ecs.rb:xx:in `block (2 levels) in <top (required)>' Below is the ecs.rb file, Much appreciate your help on this... Thanks & Regards, |
Still am facing the same issue... Any help is much Appreciated. Thanks much!! |
I am facing the same issue. |
Hi.
I'm trying to use the
ecs_service
resource to validate a service. My problem (or ignorance) is when I try to use its(:load_balancers) or its(:network_configuration). How do I use the its(:network_configuration) and check if the assign_public_id is "DISABLED"?Right now I'm trying to do like this
but I get the following error
Thanks.
The text was updated successfully, but these errors were encountered: