Skip to content

Instantly share code, notes, and snippets.

View guerzon's full-sized avatar

guerzon guerzon

View GitHub Profile
@guerzon
guerzon / deploy-awx.sh
Created June 23, 2022 09:19
Deploy the AWX Kubernetes Operator
## awx namespace
export NAMESPACE=awx
kubectl create ns $NAMESPACE
## secrets
cat <<EOF > awx-secrets.yml
---
apiVersion: v1
kind: Secret
@guerzon
guerzon / elastic-oss.repo
Created December 30, 2022 10:36
Elastic YUM repository for OSS packages
[elastic-oss]
name=Elastic repository for 8.x oss-packages
baseurl=https://artifacts.elastic.co/packages/oss-8.x/yum
gpgcheck=1
gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch
enabled=0
autorefresh=1
type=rpm-md
Name Description Type Default Required
customer Name of the customer string n/a yes
environment Environment string n/a yes
owner Technical owner string n/a yes
private_subnet_1 CIDR block for the first private subnet string n/a yes
private_subnet_2 CIDR block for the second private subnet string n/a yes
public_subnet_1 CIDR block for the first public subnet string n/a yes
public_subnet_2 CIDR block for the second public subnet string n/a yes
vpc_cidr CIDR block for the VPC string n/a yes
Name Description
private_subnet_cidr1 CIDR range of the first private subnet in the VPC
private_subnet_cidr2 CIDR range of the second private subnet in the VPC
private_subnet_id1 Subnet ID of the first private subnet in the VPC
private_subnet_id2 Subnet ID of the second private subnet in the VPC
vpc_id ID of the VPC
Name Type
aws_eip.eip1 resource
aws_eip.eip2 resource
aws_internet_gateway.igw resource
aws_main_route_table_association.vpc_main_rt resource
aws_nat_gateway.ngw1 resource
aws_nat_gateway.ngw2 resource
aws_route_table.private_rt1 resource
aws_route_table.private_rt2 resource
aws_route_table.public_rt1 resource