Skip to content

Instantly share code, notes, and snippets.

@JoaoVagner
Created June 12, 2020 14:36
Show Gist options
  • Save JoaoVagner/6fc9e11939f8ca3010fa83cf7da60e24 to your computer and use it in GitHub Desktop.
Save JoaoVagner/6fc9e11939f8ca3010fa83cf7da60e24 to your computer and use it in GitHub Desktop.
terminal-output.log
[joaovagner@localhost ec2-abl-asg-test]$ cookiecutter ec2-abl-asg
project_name [Nome do projeto]: ec2-test
Select profile_aws_cli:
1 - sim
2 - nao
Choose from 1, 2 [1]:
profile_name [nome do profile da AWS]: test-ec2
Select tipo_de_ambiente:
1 - DSV
2 - HML
3 - PRD
Choose from 1, 2, 3 [1]: 1
Select tipo_image:
1 - Amazon Linux 2
2 - Redhat
3 - Windows 2019
Choose from 1, 2, 3 [1]:
name_singular [uni]:
name_S_O [x]:
name_ID [1000]:
tag_time [infra]:
tag_centro_de_custo [NAO DEFINIDO]:
Select tag_SLA:
1 - 8x5
2 - 24x7
Choose from 1, 2 [1]: 2
Select tag_lig_desl:
1 - sim
2 - nao
Choose from 1, 2 [1]: 1
alb_listteners_port [80]:
alb_listteners_protocol [HTTP]:
alb_listteners_action_type [forward]:
Select ec2_instance_type:
1 - t2.micro
2 - t2.small
3 - t2.medium
4 - t2.large
5 - t2.xlarge
6 - t2.2xlarge
7 - m5.large
8 - m5.xlarge
9 - m5.2xlarge
10 - r5.large
11 - r5.xlarge
12 - r5.2xlarge
Choose from 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 [1]: 1
root_ebs_volume_size [Volome disk em GB]: 50
Select ebs_attachment:
1 - NAO
2 - 50
3 - 100
4 - 200
Choose from 1, 2, 3, 4 [1]: 2
asg_config_max_size [4]:
asg_config_min_size [1]:
asg_config_desired_size [2]:
asg_config_helth_check [10]:
Unable to create file 'main.tf'
Error message: 'collections.OrderedDict object' has no attribute 'profile'
Context: {
"cookiecutter": {
"_template": "ec2-abl-asg",
"alb_listteners_action_type": "forward",
"alb_listteners_port": "80",
"alb_listteners_protocol": "HTTP",
"asg_config_desired_size": "2",
"asg_config_helth_check": "10",
"asg_config_max_size": "4",
"asg_config_min_size": "1",
"ebs_attachment": "50",
"ec2_instance_type": "t2.micro",
"name_ID": "1000",
"name_S_O": "x",
"name_singular": "uni",
"profile_aws_cli": "sim",
"profile_name": "test-ec2",
"project_name": "ec2-test",
"root_ebs_volume_size": "50",
"tag_SLA": "24x7",
"tag_centro_de_custo": "NAO DEFINIDO",
"tag_lig_desl": "sim",
"tag_time": "infra",
"tipo_de_ambiente": "DSV",
"tipo_image": "Amazon Linux 2"
}
}
[joaovagner@localhost ec2-abl-asg-test]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment