@@ -13,7 +13,7 @@ you would get if you were to do use the Installer-Provision Infrastructure
1313quite a few tags that are critical to ensuring that you can take advantage of
1414all cloud integration features in OpenShift 4.
1515
16- To improve that exprience and to ensure the infrastructure provided by default
16+ To improve that experience and to ensure the infrastructure provided by default
1717matches as closely as possible to what you would get if you used the IPI method
1818of deployment, this repository includes modified versions of each of the
1919CloudFormation templates to fix those issues.
@@ -23,11 +23,7 @@ You can find the templates here:
2323| Template | Original | Modified |
2424| ------------------------ | -------------------------------------------------------------------- | ----------------------------------------------------------- |
2525| VPC | [ original] ( playbooks/aws/cloudformation/vpc.original.yaml ) | [ modified] ( playbooks/aws/cloudformation/vpc.yaml ) |
26- | Network / Load Balancing | [ original] ( playbooks/aws/cloudformation/network.original.yaml ) | [ modified] ( playbooks/aws/cloudformation/network.yaml ) |
2726| Security | [ original] ( playbooks/aws/cloudformation/security.original.yaml ) | [ modified] ( playbooks/aws/cloudformation/security.yaml ) |
28- | Bootstrap | [ original] ( playbooks/aws/cloudformation/bootstrap.original.yaml ) | [ modified] ( playbooks/aws/cloudformation/bootstrap.yaml ) |
29- | Control Plane | [ original] ( playbooks/aws/cloudformation/control_plane.original.yaml ) | [ modified] ( playbooks/aws/cloudformation/control_plane.yaml ) |
30- | Worker | [ original] ( playbooks/aws/cloudformation/worker.original.yaml ) | [ modified] ( playbooks/aws/cloudformation/worker.yaml ) |
3127
3228Also included is a playbook that ties each of the CloudFormation templates
3329together by matching the outputs of CloudFormation stacks to parameters to
@@ -43,17 +39,11 @@ Example variable file:
4339# Required Variables
4440# ##############################################################################
4541
46- cluster_name : test
47- base_domain : example .com
48- infrastructure_name : test-fgmdv
42+ cluster_name : example
43+ base_domain : redhat .com
44+ infrastructure_name : example
4945
5046hosted_zone_name : " {{ base_domain }}"
51- hosted_zone_id : Z05602532C4FRVJXEMAGM
52-
53- rhcos_ami : ami-0f4ecf819275850dd
54-
55- bootstrap_ignition_location : ' s3://com-example-test-ignition/bootstrap.ign'
56- ignition_ca : ' data:text/plain;charset=utf-8;base64,LS0tLS1CRUdJ...'
5747
5848# ##############################################################################
5949# Optional Variables
@@ -65,9 +55,6 @@ subnet_bits: 12
6555
6656allowed_bootstrap_ssh_cidr : 0.0.0.0/0
6757
68- auto_register_elb : " yes"
69-
70- master_instance_type : m5.xlarge
7158` ` `
7259
7360Execute the playbook:
@@ -76,5 +63,10 @@ Execute the playbook:
7663ansible-playbook -e @vars/aws.yml playbooks/aws/playbook.yml -v
7764```
7865
66+ Purge the Cloudformation stacks:
67+
68+ ``` bash
69+ ansible-playbook -e @vars/aws.yml playbooks/aws/purge-stack.yaml -v
70+ ```
7971
8072[ 1 ] : https://docs.openshift.com/container-platform/latest/installing/installing_aws/installing-aws-user-infra.html
0 commit comments