CHANGE: Deleted Gitea Access Keys
This commit is contained in:
@@ -657,13 +657,6 @@ func main() {
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
giteaCIAccessKey, err := iam.NewAccessKey(ctx, "gitea-ci-access-key", &iam.AccessKeyArgs{
|
|
||||||
User: giteaCIUser.Name,
|
|
||||||
})
|
|
||||||
if err != nil {
|
|
||||||
return err
|
|
||||||
}
|
|
||||||
|
|
||||||
// Export the name of the bucket
|
// Export the name of the bucket
|
||||||
ctx.Export("bucketName", bucket.ID())
|
ctx.Export("bucketName", bucket.ID())
|
||||||
ctx.Export("cdnDomainName", distribution.DomainName)
|
ctx.Export("cdnDomainName", distribution.DomainName)
|
||||||
@@ -676,8 +669,6 @@ func main() {
|
|||||||
ctx.Export("ecsClusterArn", cluster.Arn)
|
ctx.Export("ecsClusterArn", cluster.Arn)
|
||||||
ctx.Export("cmsServiceArn", cmsService.Arn)
|
ctx.Export("cmsServiceArn", cmsService.Arn)
|
||||||
ctx.Export("discoveryServiceArn", discoveryService.Arn)
|
ctx.Export("discoveryServiceArn", discoveryService.Arn)
|
||||||
ctx.Export("giteaCiAccessKeyId", giteaCIAccessKey.ID())
|
|
||||||
ctx.Export("giteaCiSecretAccessKey", giteaCIAccessKey.Secret)
|
|
||||||
return nil
|
return nil
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user