lint/.automation/test/terraform_tflint/modules/ec2_instance/main.tf
dependabot[bot] a5bd007889
Bump terraform-linters/tflint-bundle from v0.39.3.1 to v0.41.0.0 (#3339)
* Bump terraform-linters/tflint-bundle from v0.39.3.1 to v0.41.0.0

Bumps terraform-linters/tflint-bundle from v0.39.3.1 to v0.41.0.0.

---
updated-dependencies:
- dependency-name: terraform-linters/tflint-bundle
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Add version constraints

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marco Ferrari <ferrari.marco@gmail.com>
2022-09-28 14:52:41 +02:00

24 lines
474 B
HCL

resource "aws_instance" "good" {
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 {
encrypted = true
}
}
terraform {
required_version = ">=1.0"
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 4.0"
}
}
}