Skip to content
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

[Terraform] [AWS] "For_each" statement #106

Open
ihebsidhom opened this issue Feb 13, 2024 · 0 comments
Open

[Terraform] [AWS] "For_each" statement #106

ihebsidhom opened this issue Feb 13, 2024 · 0 comments
Labels
Bug Something isn't working

Comments

@ihebsidhom
Copy link

Describe the bug

Creating multiple EC2 instances using for each statement

To Reproduce

Steps to reproduce the behavior:

  1. Go to the text view
  2. Add a for_each variable and link it to an aws resource
  3. Switch to the draw view
  4. See that the resource is not created multiple time

Expected behavior

For each statement contains two values :

variable "instance_set" {
type = set(string)
default = ["Instance A", "Instance B"]
}

=> Two instances created referring to instance_set declaration.

Application (please complete the following information):

Terrator-plugin version 0.8.0
Desktop (please complete the following information):

OS: Windows 11
Browser: chrome
Version: 121.0.6167.161 (Build officiel) (64 bits)

@ihebsidhom ihebsidhom added the Bug Something isn't working label Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant