Finish up lab3
This commit is contained in:
@ -170,6 +170,7 @@ resource "aws_ami_from_instance" "ami_snapshot" {
|
|||||||
- [x] Launch a new instance from your AMI
|
- [x] Launch a new instance from your AMI
|
||||||
|
|
||||||
Terraform is great. Terraform is life. This was really simple to do.
|
Terraform is great. Terraform is life. This was really simple to do.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# Launch new instance from AMI
|
# Launch new instance from AMI
|
||||||
resource "aws_instance" "my_second_linux" {
|
resource "aws_instance" "my_second_linux" {
|
||||||
@ -181,6 +182,7 @@ resource "aws_instance" "my_second_linux" {
|
|||||||
Name = "labs"
|
Name = "labs"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
```
|
||||||
|
|
||||||
- [x] Convert to terraform
|
- [x] Convert to terraform
|
||||||
* Terraform files can be found [here](./terraform/main.tf)
|
* Terraform files can be found [here](./terraform/main.tf)
|
||||||
|
|||||||
Reference in New Issue
Block a user