diff --git a/go.mod b/go.mod index 66791d6a..65f20f0e 100644 --- a/go.mod +++ b/go.mod @@ -9,7 +9,6 @@ require ( github.com/aws/aws-sdk-go-v2 v1.32.7 github.com/aws/aws-sdk-go-v2/config v1.28.5 github.com/aws/aws-sdk-go-v2/service/ec2 v1.198.1 - github.com/aws/aws-sdk-go-v2/service/route53 v1.46.2 github.com/aws/aws-sdk-go-v2/service/ssm v1.56.1 github.com/mattn/go-isatty v0.0.20 github.com/onsi/ginkgo/v2 v2.22.0 diff --git a/go.sum b/go.sum index 8dc7dd2b..ccf8f154 100644 --- a/go.sum +++ b/go.sum @@ -20,8 +20,6 @@ github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.12.1 h1:iXtILhv github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.12.1/go.mod h1:9nu0fVANtYiAePIBh2/pFUSwtJ402hLnp854CNoDOeE= github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.12.7 h1:8eUsivBQzZHqe/3FE+cqwfH+0p5Jo8PFM/QYQSmeZ+M= github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.12.7/go.mod h1:kLPQvGUmxn/fqiCrDeohwG33bq2pQpGeY62yRO6Nrh0= -github.com/aws/aws-sdk-go-v2/service/route53 v1.46.2 h1:wmt05tPp/CaRZpPV5B4SaJ5TwkHKom07/BzHoLdkY1o= -github.com/aws/aws-sdk-go-v2/service/route53 v1.46.2/go.mod h1:d+K9HESMpGb1EU9/UmmpInbGIUcAkwmcY6ZO/A3zZsw= github.com/aws/aws-sdk-go-v2/service/ssm v1.56.1 h1:cfVjoEwOMOJOI6VoRQua0nI0KjZV9EAnR8bKaMeSppE= github.com/aws/aws-sdk-go-v2/service/ssm v1.56.1/go.mod h1:fGHwAnTdNrLKhgl+UEeq9uEL4n3Ng4MJucA+7Xi3sC4= github.com/aws/aws-sdk-go-v2/service/sso v1.24.6 h1:3zu537oLmsPfDMyjnUS2g+F2vITgy5pB74tHI+JBNoM= diff --git a/pkg/provider/aws/aws.go b/pkg/provider/aws/aws.go index 023d9f08..977a8d8a 100644 --- a/pkg/provider/aws/aws.go +++ b/pkg/provider/aws/aws.go @@ -28,7 +28,6 @@ import ( "github.com/aws/aws-sdk-go-v2/config" "github.com/aws/aws-sdk-go-v2/service/ec2" "github.com/aws/aws-sdk-go-v2/service/ec2/types" - "github.com/aws/aws-sdk-go-v2/service/route53" "github.com/aws/aws-sdk-go/aws" ) @@ -74,7 +73,6 @@ type AWS struct { type Provider struct { Tags []types.Tag ec2 *ec2.Client - r53 *route53.Client cacheFile string *v1alpha1.Environment @@ -106,7 +104,6 @@ func New(log *logger.FunLogger, env v1alpha1.Environment, cacheFile string) (*Pr } client := ec2.NewFromConfig(cfg) - r53 := route53.NewFromConfig(cfg) p := &Provider{ []types.Tag{ {Key: aws.String("Product"), Value: aws.String("Cloud Native")}, @@ -123,7 +120,6 @@ func New(log *logger.FunLogger, env v1alpha1.Environment, cacheFile string) (*Pr {Key: aws.String("GitHubRunAttempt"), Value: aws.String(gitHubRunAttempt)}, }, client, - r53, cacheFile, &env, log,