You've already forked golang-saas-starter-kit
mirror of
https://github.com/raseels-repos/golang-saas-starter-kit.git
synced 2025-07-03 00:58:13 +02:00
25 lines
674 B
Go
25 lines
674 B
Go
![]() |
package cicd
|
||
|
|
||
|
import "github.com/aws/aws-sdk-go/service/ec2"
|
||
|
|
||
|
// deployRequest defines the details needed to execute a service deployment.
|
||
|
type deployRequest struct {
|
||
|
*serviceRequest
|
||
|
|
||
|
EcrRepositoryName string `validate:"required"`
|
||
|
|
||
|
Ec2SecurityGroupName string `validate:"required"`
|
||
|
Ec2SecurityGroup *ec2.CreateSecurityGroupInput
|
||
|
|
||
|
GitlabRunnerEc2SecurityGroupName string `validate:"required"`
|
||
|
|
||
|
S3BucketTempPrefix string `validate:"required_with=S3BucketPrivateName S3BucketPublicName"`
|
||
|
S3BucketPrivateName string `validate:"omitempty"`
|
||
|
S3Buckets []S3Bucket
|
||
|
|
||
|
|
||
|
EcsService *deployEcsServiceRequest
|
||
|
LambdaFunction *deployLambdaFuncRequest
|
||
|
}
|
||
|
|