reference test suite with supported resources
· Documentation ·
- aws_ami, more examples:
- aws_ami_from_instance
- aws_ami_lauch_permission
- aws_ebs_snapshot
- aws_snapshot_create_volume_permission
- aws_ebs_volume
- aws_eip
- aws_eip_association
- aws_instance, more examples:
- aws_key_pair
- aws_launch_template
- aws_placement_group
- aws_volume_attachment
- aws_vpc
- aws_default_vpc
- aws_default_vpc_dhcp_options
- aws_vpc_dhcp_options
- aws_vpc_dhcp_options_association
- aws_customer_gateway
- aws_network_acl
- aws_default_network_acl
- aws_network_acl_rule
- aws_route
- aws_route_table
- aws_default_route_table
- aws_route_table_association
- aws_subnet
- aws_default_security_group
- aws_security_group
- aws_default_security_group
- aws_security_group_rule
- aws_network_interface
-
Install autoconf
-
Install automake, libtool(MacOS)
-
Create
terraform.tfvars
file:
$ cp terraform.tfvars.example terraform.tfvars
- Generate and run configure script:
$ autoreconf -i && ./configure
-
Run
make
to initaws provider
-
Update
terraform.tfvars
file with desirable values
-
Run
make show-cases
to list all available examples -
Run terraform
plan
,apply
anddestroy
command for specified case:
$ make plan-<case_name>
$ make apply-<case_name>
$ make destroy-<case_name>
-
Use
make clean
to removeterraform.tfstate*
andcrash.log
files -
Use
make clean-all
to removeaws provider
- Run
make check
to run all tests via autotest test framework
Thanks goes to these wonderful people:
Mikhail Ushanov | Pavel Kulyov | ancient07 | aeko-empt | Sharpeye90 | Girag | Nikita Kretov |