Skip to content

Commit

Permalink
do NOT set DNS in the agi create with EFS enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Glonek committed Jul 25, 2024
1 parent ecec76c commit f122667
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/cmdAgiCreate.go
Original file line number Diff line number Diff line change
Expand Up @@ -598,6 +598,9 @@ func (c *agiCreateCmd) Execute(args []string) error {
sourceStringLocal = base64.RawStdEncoding.EncodeToString([]byte(sourceStringLocal))
sourceStringSftp = base64.RawStdEncoding.EncodeToString([]byte(sourceStringSftp))
sourceStringS3 = base64.RawStdEncoding.EncodeToString([]byte(sourceStringS3))
if a.opts.Config.Backend.Type == "aws" && c.Aws.WithEFS {
a.opts.Cluster.Create.NoSetDNS = true
}
a.opts.Cluster.Create.ClusterName = c.ClusterName
a.opts.Cluster.Create.NodeCount = 1
a.opts.Cluster.Create.CustomConfigFilePath = ""
Expand Down

0 comments on commit f122667

Please sign in to comment.