Changing t1.micro to t2.micro and m4.large
This commit is contained in:
parent
c1d6e36616
commit
4daf9eeef4
|
@ -29,7 +29,7 @@ data "aws_ami" "ubuntu" {
|
||||||
resource "aws_launch_configuration" "as_conf" {
|
resource "aws_launch_configuration" "as_conf" {
|
||||||
name = "web_config"
|
name = "web_config"
|
||||||
image_id = "${data.aws_ami.ubuntu.id}"
|
image_id = "${data.aws_ami.ubuntu.id}"
|
||||||
instance_type = "t1.micro"
|
instance_type = "t2.micro"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -60,7 +60,7 @@ data "aws_ami" "ubuntu" {
|
||||||
resource "aws_launch_configuration" "as_conf" {
|
resource "aws_launch_configuration" "as_conf" {
|
||||||
name_prefix = "terraform-lc-example-"
|
name_prefix = "terraform-lc-example-"
|
||||||
image_id = "${data.aws_ami.ubuntu.id}"
|
image_id = "${data.aws_ami.ubuntu.id}"
|
||||||
instance_type = "t1.micro"
|
instance_type = "t2.micro"
|
||||||
|
|
||||||
lifecycle {
|
lifecycle {
|
||||||
create_before_destroy = true
|
create_before_destroy = true
|
||||||
|
@ -106,7 +106,7 @@ data "aws_ami" "ubuntu" {
|
||||||
|
|
||||||
resource "aws_launch_configuration" "as_conf" {
|
resource "aws_launch_configuration" "as_conf" {
|
||||||
image_id = "${data.aws_ami.ubuntu.id}"
|
image_id = "${data.aws_ami.ubuntu.id}"
|
||||||
instance_type = "t1.micro"
|
instance_type = "m4.large"
|
||||||
spot_price = "0.001"
|
spot_price = "0.001"
|
||||||
lifecycle {
|
lifecycle {
|
||||||
create_before_destroy = true
|
create_before_destroy = true
|
||||||
|
|
Loading…
Reference in New Issue