mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-03-20 00:23:46 +01:00
giving a subnet to the mock command for validation in CI
This commit is contained in:
@@ -12,6 +12,7 @@ provider "random" {
|
||||
}
|
||||
|
||||
provider "http" {}
|
||||
provider "local" {}
|
||||
|
||||
data "aws_ami" "eks_worker" {
|
||||
filter {
|
||||
@@ -68,14 +69,6 @@ module "vpc" {
|
||||
tags = "${merge(local.tags, map("kubernetes.io/cluster/${local.cluster_name}", "shared"))}"
|
||||
}
|
||||
|
||||
module "security_group" {
|
||||
source = "terraform-aws-modules/security-group/aws"
|
||||
version = "1.12.0"
|
||||
name = "test-sg-https"
|
||||
vpc_id = "${module.vpc.vpc_id}"
|
||||
tags = "${local.tags}"
|
||||
}
|
||||
|
||||
module "eks" {
|
||||
source = "../.."
|
||||
cluster_name = "${local.cluster_name}"
|
||||
|
||||
Reference in New Issue
Block a user