@@ -23,41 +23,37 @@ admin_database_password: !vault |
23
23
# provisioning with aws-web-stacks.
24
24
# ----------------------------------------------------------------------------
25
25
26
- stack_name : " {{ app_name }}-stack"
27
-
28
- # cloudformation_stack:
29
- # region: "{{ aws_region }}"
30
- # stack_name: "{{ stack_name }}"
31
- # template_bucket: "aws-web-stacks-{{ app_name }}"
32
- # # Webstacks required variable
33
- # template_local_path: '{{ playbook_dir + "/stack/eks-no-nat.yml" }}'
34
- # create_changeset: true
35
- # termination_protection: true
36
-
37
- # template_parameters:
38
- # PrimaryAZ: "{{ aws_region }}a"
39
- # SecondaryAZ: "{{ aws_region }}b"
40
- # DesiredScale: 2
41
- # MaxScale: 4
42
- # UseAES256Encryption: "true"
43
- # CustomerManagedCmkArn: ""
44
- # ContainerInstanceType: t3a.large
45
- # ContainerVolumeSize: 40
46
- # DatabaseAllocatedStorage: 100
47
- # DatabaseClass: db.t3.large
48
- # DatabaseEngineVersion: "12"
49
- # DatabaseParameterGroupFamily: postgres12
50
- # DatabaseMultiAZ: "false"
51
- # DatabaseUser: "{{ app_name }}_admin"
52
- # DatabasePassword: "{{ admin_database_password }}"
53
- # DatabaseName: "{{ app_name }}"
54
- # DomainName: nccopwatch.org
55
- # DomainNameAlternates: ""
56
- # AssetsCloudFrontDomain: files.nccopwatch.org
57
- # AssetsCloudFrontCertArn: arn:aws:acm:us-east-1:606178775542:certificate/379950bb-4b29-4308-8418-122674fe1076
58
- # AssetsUseCloudFront: "true"
59
- # tags:
60
- # Environment: "{{ app_name }}"
26
+ cloudformation_stack_state : present
27
+ cloudformation_stack_profile : ' {{ aws_profile }}'
28
+ cloudformation_stack_region : ' {{ aws_region }}'
29
+ cloudformation_stack_name : " {{ app_name }}-stack"
30
+ cloudformation_stack_termination_protection : true
31
+ cloudformation_stack_template_bucket : " aws-web-stacks-{{ app_name }}"
32
+ cloudformation_stack_template_local_path : ' {{ playbook_dir + "/stack/eks-no-nat.yml" }}'
33
+ cloudformation_stack_template_parameters :
34
+ PrimaryAZ : " {{ aws_region }}a"
35
+ SecondaryAZ : " {{ aws_region }}b"
36
+ DesiredScale : 2
37
+ MaxScale : 4
38
+ UseAES256Encryption : " true"
39
+ CustomerManagedCmkArn : " "
40
+ ContainerInstanceType : t3a.large
41
+ ContainerVolumeSize : 40
42
+ DatabaseAllocatedStorage : 100
43
+ DatabaseClass : db.t3.large
44
+ DatabaseEngineVersion : " 12"
45
+ DatabaseParameterGroupFamily : postgres12
46
+ DatabaseMultiAZ : " false"
47
+ DatabaseUser : " {{ app_name }}_admin"
48
+ DatabasePassword : " {{ admin_database_password }}"
49
+ DatabaseName : " {{ app_name }}"
50
+ DomainName : nccopwatch.org
51
+ DomainNameAlternates : " "
52
+ AssetsCloudFrontDomain : files.nccopwatch.org
53
+ AssetsCloudFrontCertArn : arn:aws:acm:us-east-1:606178775542:certificate/379950bb-4b29-4308-8418-122674fe1076
54
+ AssetsUseCloudFront : " true"
55
+ cloudformation_stack_tags :
56
+ Environment : " {{ app_name }}"
61
57
62
58
# Install Descheduler to attempt to spread out pods again after node failures
63
59
k8s_install_descheduler : yes
@@ -79,7 +75,7 @@ k8s_descheduler_release_values:
79
75
# clusters for web apps.
80
76
# ----------------------------------------------------------------------------
81
77
82
- k8s_cluster_name : " {{ cloudformation_stack.stack_name }}-cluster"
78
+ k8s_cluster_name : " {{ cloudformation_stack_name }}-cluster"
83
79
k8s_context : " arn:aws:eks:us-east-2:606178775542:cluster/{{ k8s_cluster_name }}"
84
80
k8s_cluster_type : aws
85
81
0 commit comments