-
-
Notifications
You must be signed in to change notification settings - Fork 7
36 lines (32 loc) · 976 Bytes
/
AWS.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Resources:
MyBucket:
Type: 'AWS::S3::Bucket'
Properties:
BucketName: my-application-bucket
MyElasticBeanstalkApplication:
Type: 'AWS::ElasticBeanstalk::Application'
Properties:
ApplicationName: my-application
MyElasticBeanstalkEnvironment:
Type: 'AWS::ElasticBeanstalk::Environment'
Properties:
ApplicationName: !Ref MyElasticBeanstalkApplication
SolutionStackName: 64bit Amazon Linux 2018.03 v2.11.4 running Python 3.6
MyEKSCluster:
Type: 'AWS::EKS::Cluster'
Properties:
Name: my-eks-cluster
RoleArn: !GetAtt MyEKSClusterRole.Arn
Version: '1.20'
ResourcesVpcConfig:
SubnetIds:
- subnet-abcde012
- subnet-bcde012a
- subnet-fghi345a
SecurityGroupIds:
- sg-abcde012
Resources:
MyCustomResource:
Type: 'Custom::MyCustomResource'
Properties:
ServiceToken: arn:aws:lambda:us-west-2:123456789012:function:my-function