│ Error: Invalid value for input variable
│
│ on variables.tf line 113:
│ 113: variable “redshift_port” {
│
│ Unsuitable value for var.redshift_port set using an interactive prompt: a number is required.
╵
╷
│ Error: multiple EC2 Subnets matched; use additional constraints to reduce matches to a single EC2 Subnet
│
│ with module.extract_job.data.aws_subnet.public_a,
│ on modules/extract_job/network.tf line 1, in data “aws_subnet” “public_a”:
│ 1: data “aws_subnet” “public_a” {
│
╵
╷
│ Error: multiple EC2 Security Groups matched; use additional constraints to reduce matches to a single EC2 Security Group
│
│ with module.extract_job.data.aws_security_group.db_sg,
│ on modules/extract_job/network.tf line 5, in data “aws_security_group” “db_sg”:
│ 5: data “aws_security_group” “db_sg” {
Hello @akash_mernedi,
Unfortunately I couldn’t reproduce the issue and there were other learners with this issue but in a different Assignment in Course 3(post and here). It seems you are getting this output from terraform apply
with EC2 Subnets
and EC2 Security Group
are found multiple. I suggest to submit the form and perhaps @Edmund_Koh and @Pisith_Soeun have any suggestions, if they are around. Thank you