Capgemini / Capgemini/terraform-amazon-ecs

question regarding error

Open
#6 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HCL
Stars
183
Forks
106
PR merge metrics
No merged PRs in 30d

Description

i am trying the project and getting this error after adapting it a little bit:

* aws_elb.s3-registry-elb: [WARN] Error looking up ELB Security Group ID: No security groups found for name amazon-elb-sg and vpc id

do you know why this is happening?

I assign on the elb the security groups with:

security_groups = ["${aws_security_group.ecs.id}"]

but still getting the same error and on the state security_groups.# = 0 and it has the source_security_group = amazon-elb-sg

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the aws_elb.s3-registry-elb resource and compare its security_groups configuration with the recorded state, especially security_groups.# and source_security_group. Trace the ELB security-group lookup that emits the warning and confirm the configuration and state no longer report an empty security-group list.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, terraform
Domain
cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.