From aefa906491f629e775e9d98101c3333b1e854a5e Mon Sep 17 00:00:00 2001 From: Ole Markus With Date: Sat, 3 Jul 2021 07:56:50 +0200 Subject: [PATCH] Do not set both CIDR and IPv6CIDR on sg rules --- pkg/model/awsmodel/bastion.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/model/awsmodel/bastion.go b/pkg/model/awsmodel/bastion.go index a3fb1368a5..a6567e9786 100644 --- a/pkg/model/awsmodel/bastion.go +++ b/pkg/model/awsmodel/bastion.go @@ -191,7 +191,6 @@ func (b *BastionModelBuilder) Build(c *fi.ModelBuilderContext) error { Protocol: fi.String("tcp"), FromPort: fi.Int64(22), ToPort: fi.Int64(22), - CIDR: fi.String(sshAccess), } if utils.IsIPv6CIDR(sshAccess) { t.IPv6CIDR = fi.String(sshAccess)