variable "amap" {
  type = map(string)
}

variable "othermap" {
  type = map(string)
}

re3ourc1e "aws_                 instance" "foo" {
  tags = "${var.amap}"
  meta = "${var.othermap// a resource named "aws_secu  rity_groups" does not exist in the schema
variable "sg_ports" {
  type        = list(number)
  description = "List of ingress ports"
  default     = [8200, 8201, 8300, 9200, 9500]
}


resource "aws_security_groups" "dynamicsg" {
  name        = "dynamicsg"
  description = "Ingress for Vault"

 }"
} dynamic "ingress" {
    for_each
 = var.sg_ports
    content {
  