@@ -18,6 +18,7 @@ import (
1818 "encoding/json"
1919 "errors"
2020 "fmt"
21+ taghelper "github.com/mongodb/mongodb-atlas-kubernetes/v2/test/helper"
2122 "os"
2223 "strings"
2324 "time"
@@ -31,7 +32,6 @@ import (
3132 "github.com/onsi/ginkgo/v2/dsl/core"
3233
3334 "github.com/mongodb/mongodb-atlas-kubernetes/v2/internal/pointer"
34- awshelper "github.com/mongodb/mongodb-atlas-kubernetes/v2/test/helper/e2e/api/aws"
3535)
3636
3737type AwsAction struct {
@@ -86,10 +86,10 @@ func (a *AwsAction) CreateKMS(alias, region, atlasAccountArn, assumedRoleArn str
8686 Origin : aws .String ("AWS_KMS" ),
8787 Policy : aws .String (policyString ),
8888 Tags : []* kms.Tag {
89- {TagKey : aws .String (awshelper .OwnerTag ), TagValue : aws .String (awshelper .AKOTeam )},
90- {TagKey : aws .String (awshelper .OwnerEmailTag ), TagValue : aws .String (awshelper .AKOEmail )},
91- {TagKey : aws .String (awshelper .CostCenterTag ), TagValue : aws .String (awshelper .AKOCostCenter )},
92- {TagKey : aws .String (awshelper .EnvironmentTag ), TagValue : aws .String (awshelper .AKOEnvTest )},
89+ {TagKey : aws .String (taghelper .OwnerTag ), TagValue : aws .String (taghelper .AKOTeam )},
90+ {TagKey : aws .String (taghelper .OwnerEmailTag ), TagValue : aws .String (taghelper .AKOEmail )},
91+ {TagKey : aws .String (taghelper .CostCenterTag ), TagValue : aws .String (taghelper .AKOCostCenter )},
92+ {TagKey : aws .String (taghelper .EnvironmentTag ), TagValue : aws .String (taghelper .AKOEnvTest )},
9393 },
9494 })
9595
@@ -414,10 +414,10 @@ func (a *AwsAction) createVPC(name, cidr, region string) (string, error) {
414414 ResourceType : aws .String (ec2 .ResourceTypeVpc ),
415415 Tags : []* ec2.Tag {
416416 {Key : aws .String ("Name" ), Value : aws .String (name )},
417- {Key : aws .String (awshelper .OwnerTag ), Value : aws .String (awshelper .AKOTeam )},
418- {Key : aws .String (awshelper .OwnerEmailTag ), Value : aws .String (awshelper .AKOEmail )},
419- {Key : aws .String (awshelper .CostCenterTag ), Value : aws .String (awshelper .AKOCostCenter )},
420- {Key : aws .String (awshelper .EnvironmentTag ), Value : aws .String (awshelper .AKOEnvTest )},
417+ {Key : aws .String (taghelper .OwnerTag ), Value : aws .String (taghelper .AKOTeam )},
418+ {Key : aws .String (taghelper .OwnerEmailTag ), Value : aws .String (taghelper .AKOEmail )},
419+ {Key : aws .String (taghelper .CostCenterTag ), Value : aws .String (taghelper .AKOCostCenter )},
420+ {Key : aws .String (taghelper .EnvironmentTag ), Value : aws .String (taghelper .AKOEnvTest )},
421421 },
422422 }},
423423 }
@@ -496,10 +496,10 @@ func (a *AwsAction) createSubnet(vpcID, name, cidr, region, az string) (*string,
496496 ResourceType : aws .String (ec2 .ResourceTypeSubnet ),
497497 Tags : []* ec2.Tag {
498498 {Key : aws .String ("Name" ), Value : aws .String (name )},
499- {Key : aws .String (awshelper .OwnerTag ), Value : aws .String (awshelper .AKOTeam )},
500- {Key : aws .String (awshelper .OwnerEmailTag ), Value : aws .String (awshelper .AKOEmail )},
501- {Key : aws .String (awshelper .CostCenterTag ), Value : aws .String (awshelper .AKOCostCenter )},
502- {Key : aws .String (awshelper .EnvironmentTag ), Value : aws .String (awshelper .AKOEnvTest )},
499+ {Key : aws .String (taghelper .OwnerTag ), Value : aws .String (taghelper .AKOTeam )},
500+ {Key : aws .String (taghelper .OwnerEmailTag ), Value : aws .String (taghelper .AKOEmail )},
501+ {Key : aws .String (taghelper .CostCenterTag ), Value : aws .String (taghelper .AKOCostCenter )},
502+ {Key : aws .String (taghelper .EnvironmentTag ), Value : aws .String (taghelper .AKOEnvTest )},
503503 },
504504 }},
505505 VpcId : aws .String (vpcID ),
0 commit comments