We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0f4f27 commit ab7e5c8Copy full SHA for ab7e5c8
1 file changed
gov2/cloudfront/CreateDistribution/CreateDistribution.go
@@ -46,10 +46,6 @@ func (c *CFDistributionAPIImpl) CreateDistribution(ctx context.Context, bucketNa
46
}
47
originDomain := bucketName + ".s3." + string(locationOutput.LocationConstraint) + ".amazonaws.com"
48
49
- if err != nil {
50
- return nil, err
51
- }
52
-
53
originAccessIdentityID, err := c.createoriginAccessIdentity(ctx, domain)
54
if err != nil {
55
return nil, err
0 commit comments