mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-26 16:10:58 -05:00
26 lines
500 B
Terraform
26 lines
500 B
Terraform
|
resource "aws_instance" "bad" {
|
||
|
ami = "ami-0ff8a91507f77f867"
|
||
|
instance_type = "t2.small"
|
||
|
associate_public_ip_address = false
|
||
|
|
||
|
vpc_security_group_ids = ["sg-12345678901234567"]
|
||
|
metadata_options {
|
||
|
http_endpoint = "disabled"
|
||
|
}
|
||
|
|
||
|
ebs_block_device {
|
||
|
device_name = "name"
|
||
|
encrypted = true
|
||
|
}
|
||
|
}
|
||
|
|
||
|
terraform {
|
||
|
required_version = ">=1.0"
|
||
|
required_providers {
|
||
|
aws = {
|
||
|
source = "hashicorp/aws"
|
||
|
version = "~> 4.0"
|
||
|
}
|
||
|
}
|
||
|
}
|