text
stringlengths
127
1.01k
<s>[INST] <<SYS>> Write a Terraform script to deploy an AWS EC2 instance with a security group allowing SSH access. Input: <noinput> <</SYS>> resource "aws_instance" "example" { ami = "ami-0c55b159cbfafe1f0" instance_type = "t2.micro" tags = { Name = "ExampleInstance...
<s>[INST] <<SYS>> Please analyze the given Terraform script and provide feedback on its configuration. Input: <terraform code> resource "aws_s3_bucket" "my_bucket" { bucket = "my_unique_bucket_name" acl = "private" } <</SYS>>The given Terraform script is analyzed here with feedback and sugg...
<s>[INST] <<SYS>> Create a Terraform configuration to provision an AWS Lambda function with an associated IAM role. Input: <noinput> <</SYS>> resource "aws_iam_role" "lambda_role" { name = "lambda_role" assume_role_policy = jsonencode({ Version = "2012-10-17", Statement = [ ...
<s>[INST] <<SYS>> Please analyze the given Terraform script and provide feedback on its configuration. Input: <terraform code> resource "aws_instance" "example" { ami = "ami-0c55b159cbfafe1f0" instance_type = "t2.micro" } <</SYS>>The given Terraform script is analyzed here with feedb...
<s>[INST] <<SYS>> Please analyze the given Terraform script and provide feedback on its configuration. Input: <terraform code> resource "aws_lambda_function" "example_lambda" { function_name = "example_lambda" role = aws_iam_role.lambda_role.arn handler = "index.handler" runt...
<s>[INST] <<SYS>> Please analyze the given Terraform script and provide feedback on its configuration. Input: <terraform code> resource "aws_s3_bucket" "my_bucket" { bucket = "my_unique_bucket_name" acl = "private" } <</SYS>>The given Terraform script is analyzed here with feedback and sugg...
<s>[INST] <<SYS>> Create a Terraform configuration to provision an AWS Lambda function with an associated IAM role. Input: <noinput> <</SYS>> resource "aws_iam_role" "lambda_role" { name = "lambda_role" assume_role_policy = jsonencode({ Version = "2012-10-17", Statement = [ ...
<s>[INST] <<SYS>> Please analyze the given Terraform script and provide feedback on its configuration. Input: <terraform code> resource "aws_instance" "example" { ami = "ami-0c55b159cbfafe1f0" instance_type = "t2.micro" } <</SYS>>The given Terraform script is analyzed here with feedb...
<s>[INST] <<SYS>> Write a Terraform script to deploy an AWS EC2 instance with a security group allowing SSH access. Input: <noinput> <</SYS>> resource "aws_instance" "example" { ami = "ami-0c55b159cbfafe1f0" instance_type = "t2.micro" tags = { Name = "ExampleInstance...
<s>[INST] <<SYS>> Please write a Terraform script to create an AWS S3 bucket with versioning enabled and public access blocked. Input: <noinput> <</SYS>> resource "aws_s3_bucket" "bucket" { bucket = "my-tf-test-bucket" acl = "private" versioning { enabled = true } ...
<s>[INST] <<SYS>> Please write a Terraform script to create an AWS S3 bucket with versioning enabled and public access blocked. Input: <noinput> <</SYS>> resource "aws_s3_bucket" "bucket" { bucket = "my-tf-test-bucket" acl = "private" versioning { enabled = true } ...
<s>[INST] <<SYS>> Please analyze the given Terraform script and provide feedback on its configuration. Input: <terraform code> resource "aws_s3_bucket" "my_bucket" { bucket = "my_unique_bucket_name" acl = "private" } <</SYS>>The given Terraform script is analyzed here with feedback and sugg...
<s>[INST] <<SYS>> Please analyze the given Terraform script and provide feedback on its configuration. Input: <terraform code> resource "aws_lambda_function" "example_lambda" { function_name = "example_lambda" role = aws_iam_role.lambda_role.arn handler = "index.handler" runt...
<s>[INST] <<SYS>> Write a Terraform script to deploy an AWS EC2 instance with a security group allowing SSH access. Input: <noinput> <</SYS>> resource "aws_instance" "example" { ami = "ami-0c55b159cbfafe1f0" instance_type = "t2.micro" tags = { Name = "ExampleInstance...
<s>[INST] <<SYS>> Write a Terraform script to deploy an AWS EC2 instance with a security group allowing SSH access. Input: <noinput> <</SYS>> resource "aws_instance" "example" { ami = "ami-0c55b159cbfafe1f0" instance_type = "t2.micro" tags = { Name = "ExampleInstance...
<s>[INST] <<SYS>> Write a Terraform script to deploy an AWS EC2 instance with a security group allowing SSH access. Input: <noinput> <</SYS>> resource "aws_instance" "example" { ami = "ami-0c55b159cbfafe1f0" instance_type = "t2.micro" tags = { Name = "ExampleInstance...
<s>[INST] <<SYS>> Please analyze the given Terraform script and provide feedback on its configuration. Input: <terraform code> resource "aws_instance" "example" { ami = "ami-0c55b159cbfafe1f0" instance_type = "t2.micro" } <</SYS>>The given Terraform script is analyzed here with feedb...
<s>[INST] <<SYS>> Create a Terraform configuration to provision an AWS Lambda function with an associated IAM role. Input: <noinput> <</SYS>> resource "aws_iam_role" "lambda_role" { name = "lambda_role" assume_role_policy = jsonencode({ Version = "2012-10-17", Statement = [ ...
<s>[INST] <<SYS>> Please write a Terraform script to create an AWS S3 bucket with versioning enabled and public access blocked. Input: <noinput> <</SYS>> resource "aws_s3_bucket" "bucket" { bucket = "my-tf-test-bucket" acl = "private" versioning { enabled = true } ...
<s>[INST] <<SYS>> Please write a Terraform script to create an AWS S3 bucket with versioning enabled and public access blocked. Input: <noinput> <</SYS>> resource "aws_s3_bucket" "bucket" { bucket = "my-tf-test-bucket" acl = "private" versioning { enabled = true } ...
<s>[INST] <<SYS>> Please analyze the given Terraform script and provide feedback on its configuration. Input: <terraform code> resource "aws_instance" "example" { ami = "ami-0c55b159cbfafe1f0" instance_type = "t2.micro" } <</SYS>>The given Terraform script is analyzed here with feedb...
<s>[INST] <<SYS>> Please analyze the given Terraform script and provide feedback on its configuration. Input: <terraform code> resource "aws_instance" "example" { ami = "ami-0c55b159cbfafe1f0" instance_type = "t2.micro" } <</SYS>>The given Terraform script is analyzed here with feedb...
<s>[INST] <<SYS>> Please analyze the given Terraform script and provide feedback on its configuration. Input: <terraform code> resource "aws_s3_bucket" "my_bucket" { bucket = "my_unique_bucket_name" acl = "private" } <</SYS>>The given Terraform script is analyzed here with feedback and sugg...
<s>[INST] <<SYS>> Please analyze the given Terraform script and provide feedback on its configuration. Input: <terraform code> resource "aws_instance" "example" { ami = "ami-0c55b159cbfafe1f0" instance_type = "t2.micro" } <</SYS>>The given Terraform script is analyzed here with feedb...
<s>[INST] <<SYS>> Write a Terraform script to deploy an AWS EC2 instance with a security group allowing SSH access. Input: <noinput> <</SYS>> resource "aws_instance" "example" { ami = "ami-0c55b159cbfafe1f0" instance_type = "t2.micro" tags = { Name = "ExampleInstance...
<s>[INST] <<SYS>> Please analyze the given Terraform script and provide feedback on its configuration. Input: <terraform code> resource "aws_instance" "example" { ami = "ami-0c55b159cbfafe1f0" instance_type = "t2.micro" } <</SYS>>The given Terraform script is analyzed here with feedb...
<s>[INST] <<SYS>> Please analyze the given Terraform script and provide feedback on its configuration. Input: <terraform code> resource "aws_lambda_function" "example_lambda" { function_name = "example_lambda" role = aws_iam_role.lambda_role.arn handler = "index.handler" runt...
<s>[INST] <<SYS>> Please analyze the given Terraform script and provide feedback on its configuration. Input: <terraform code> resource "aws_lambda_function" "example_lambda" { function_name = "example_lambda" role = aws_iam_role.lambda_role.arn handler = "index.handler" runt...
<s>[INST] <<SYS>> Write a Terraform script to deploy an AWS EC2 instance with a security group allowing SSH access. Input: <noinput> <</SYS>> resource "aws_instance" "example" { ami = "ami-0c55b159cbfafe1f0" instance_type = "t2.micro" tags = { Name = "ExampleInstance...
<s>[INST] <<SYS>> Please write a Terraform script to create an AWS S3 bucket with versioning enabled and public access blocked. Input: <noinput> <</SYS>> resource "aws_s3_bucket" "bucket" { bucket = "my-tf-test-bucket" acl = "private" versioning { enabled = true } ...
<s>[INST] <<SYS>> Write a Terraform script to deploy an AWS EC2 instance with a security group allowing SSH access. Input: <noinput> <</SYS>> resource "aws_instance" "example" { ami = "ami-0c55b159cbfafe1f0" instance_type = "t2.micro" tags = { Name = "ExampleInstance...
<s>[INST] <<SYS>> Please analyze the given Terraform script and provide feedback on its configuration. Input: <terraform code> resource "aws_lambda_function" "example_lambda" { function_name = "example_lambda" role = aws_iam_role.lambda_role.arn handler = "index.handler" runt...
<s>[INST] <<SYS>> Please analyze the given Terraform script and provide feedback on its configuration. Input: <terraform code> resource "aws_instance" "example" { ami = "ami-0c55b159cbfafe1f0" instance_type = "t2.micro" } <</SYS>>The given Terraform script is analyzed here with feedb...
<s>[INST] <<SYS>> Please analyze the given Terraform script and provide feedback on its configuration. Input: <terraform code> resource "aws_lambda_function" "example_lambda" { function_name = "example_lambda" role = aws_iam_role.lambda_role.arn handler = "index.handler" runt...
<s>[INST] <<SYS>> Please write a Terraform script to create an AWS S3 bucket with versioning enabled and public access blocked. Input: <noinput> <</SYS>> resource "aws_s3_bucket" "bucket" { bucket = "my-tf-test-bucket" acl = "private" versioning { enabled = true } ...
<s>[INST] <<SYS>> Please analyze the given Terraform script and provide feedback on its configuration. Input: <terraform code> resource "aws_instance" "example" { ami = "ami-0c55b159cbfafe1f0" instance_type = "t2.micro" } <</SYS>>The given Terraform script is analyzed here with feedb...
<s>[INST] <<SYS>> Please analyze the given Terraform script and provide feedback on its configuration. Input: <terraform code> resource "aws_s3_bucket" "my_bucket" { bucket = "my_unique_bucket_name" acl = "private" } <</SYS>>The given Terraform script is analyzed here with feedback and sugg...
<s>[INST] <<SYS>> Create a Terraform configuration to provision an AWS Lambda function with an associated IAM role. Input: <noinput> <</SYS>> resource "aws_iam_role" "lambda_role" { name = "lambda_role" assume_role_policy = jsonencode({ Version = "2012-10-17", Statement = [ ...
<s>[INST] <<SYS>> Please analyze the given Terraform script and provide feedback on its configuration. Input: <terraform code> resource "aws_s3_bucket" "my_bucket" { bucket = "my_unique_bucket_name" acl = "private" } <</SYS>>The given Terraform script is analyzed here with feedback and sugg...
<s>[INST] <<SYS>> Write a Terraform script to deploy an AWS EC2 instance with a security group allowing SSH access. Input: <noinput> <</SYS>> resource "aws_instance" "example" { ami = "ami-0c55b159cbfafe1f0" instance_type = "t2.micro" tags = { Name = "ExampleInstance...
<s>[INST] <<SYS>> Write a Terraform script to deploy an AWS EC2 instance with a security group allowing SSH access. Input: <noinput> <</SYS>> resource "aws_instance" "example" { ami = "ami-0c55b159cbfafe1f0" instance_type = "t2.micro" tags = { Name = "ExampleInstance...
<s>[INST] <<SYS>> Create a Terraform configuration to provision an AWS Lambda function with an associated IAM role. Input: <noinput> <</SYS>> resource "aws_iam_role" "lambda_role" { name = "lambda_role" assume_role_policy = jsonencode({ Version = "2012-10-17", Statement = [ ...
<s>[INST] <<SYS>> Write a Terraform script to deploy an AWS EC2 instance with a security group allowing SSH access. Input: <noinput> <</SYS>> resource "aws_instance" "example" { ami = "ami-0c55b159cbfafe1f0" instance_type = "t2.micro" tags = { Name = "ExampleInstance...
<s>[INST] <<SYS>> Please analyze the given Terraform script and provide feedback on its configuration. Input: <terraform code> resource "aws_lambda_function" "example_lambda" { function_name = "example_lambda" role = aws_iam_role.lambda_role.arn handler = "index.handler" runt...
<s>[INST] <<SYS>> Please analyze the given Terraform script and provide feedback on its configuration. Input: <terraform code> resource "aws_instance" "example" { ami = "ami-0c55b159cbfafe1f0" instance_type = "t2.micro" } <</SYS>>The given Terraform script is analyzed here with feedb...
<s>[INST] <<SYS>> Please analyze the given Terraform script and provide feedback on its configuration. Input: <terraform code> resource "aws_instance" "example" { ami = "ami-0c55b159cbfafe1f0" instance_type = "t2.micro" } <</SYS>>The given Terraform script is analyzed here with feedb...
<s>[INST] <<SYS>> Please analyze the given Terraform script and provide feedback on its configuration. Input: <terraform code> resource "aws_lambda_function" "example_lambda" { function_name = "example_lambda" role = aws_iam_role.lambda_role.arn handler = "index.handler" runt...
<s>[INST] <<SYS>> Write a Terraform script to deploy an AWS EC2 instance with a security group allowing SSH access. Input: <noinput> <</SYS>> resource "aws_instance" "example" { ami = "ami-0c55b159cbfafe1f0" instance_type = "t2.micro" tags = { Name = "ExampleInstance...
<s>[INST] <<SYS>> Please analyze the given Terraform script and provide feedback on its configuration. Input: <terraform code> resource "aws_instance" "example" { ami = "ami-0c55b159cbfafe1f0" instance_type = "t2.micro" } <</SYS>>The given Terraform script is analyzed here with feedb...
<s>[INST] <<SYS>> Please analyze the given Terraform script and provide feedback on its configuration. Input: <terraform code> resource "aws_s3_bucket" "my_bucket" { bucket = "my_unique_bucket_name" acl = "private" } <</SYS>>The given Terraform script is analyzed here with feedback and sugg...
<s>[INST] <<SYS>> Write a Terraform script to deploy an AWS EC2 instance with a security group allowing SSH access. Input: <noinput> <</SYS>> resource "aws_instance" "example" { ami = "ami-0c55b159cbfafe1f0" instance_type = "t2.micro" tags = { Name = "ExampleInstance...
<s>[INST] <<SYS>> Please analyze the given Terraform script and provide feedback on its configuration. Input: <terraform code> resource "aws_instance" "example" { ami = "ami-0c55b159cbfafe1f0" instance_type = "t2.micro" } <</SYS>>The given Terraform script is analyzed here with feedb...
<s>[INST] <<SYS>> Please analyze the given Terraform script and provide feedback on its configuration. Input: <terraform code> resource "aws_lambda_function" "example_lambda" { function_name = "example_lambda" role = aws_iam_role.lambda_role.arn handler = "index.handler" runt...
<s>[INST] <<SYS>> Please analyze the given Terraform script and provide feedback on its configuration. Input: <terraform code> resource "aws_lambda_function" "example_lambda" { function_name = "example_lambda" role = aws_iam_role.lambda_role.arn handler = "index.handler" runt...
<s>[INST] <<SYS>> Please analyze the given Terraform script and provide feedback on its configuration. Input: <terraform code> resource "aws_instance" "example" { ami = "ami-0c55b159cbfafe1f0" instance_type = "t2.micro" } <</SYS>>The given Terraform script is analyzed here with feedb...
<s>[INST] <<SYS>> Create a Terraform configuration to provision an AWS Lambda function with an associated IAM role. Input: <noinput> <</SYS>> resource "aws_iam_role" "lambda_role" { name = "lambda_role" assume_role_policy = jsonencode({ Version = "2012-10-17", Statement = [ ...
<s>[INST] <<SYS>> Please analyze the given Terraform script and provide feedback on its configuration. Input: <terraform code> resource "aws_instance" "example" { ami = "ami-0c55b159cbfafe1f0" instance_type = "t2.micro" } <</SYS>>The given Terraform script is analyzed here with feedb...
<s>[INST] <<SYS>> Please analyze the given Terraform script and provide feedback on its configuration. Input: <terraform code> resource "aws_s3_bucket" "my_bucket" { bucket = "my_unique_bucket_name" acl = "private" } <</SYS>>The given Terraform script is analyzed here with feedback and sugg...
<s>[INST] <<SYS>> Please analyze the given Terraform script and provide feedback on its configuration. Input: <terraform code> resource "aws_lambda_function" "example_lambda" { function_name = "example_lambda" role = aws_iam_role.lambda_role.arn handler = "index.handler" runt...
<s>[INST] <<SYS>> Please analyze the given Terraform script and provide feedback on its configuration. Input: <terraform code> resource "aws_s3_bucket" "my_bucket" { bucket = "my_unique_bucket_name" acl = "private" } <</SYS>>The given Terraform script is analyzed here with feedback and sugg...
<s>[INST] <<SYS>> Please write a Terraform script to create an AWS S3 bucket with versioning enabled and public access blocked. Input: <noinput> <</SYS>> resource "aws_s3_bucket" "bucket" { bucket = "my-tf-test-bucket" acl = "private" versioning { enabled = true } ...
<s>[INST] <<SYS>> Please analyze the given Terraform script and provide feedback on its configuration. Input: <terraform code> resource "aws_lambda_function" "example_lambda" { function_name = "example_lambda" role = aws_iam_role.lambda_role.arn handler = "index.handler" runt...
<s>[INST] <<SYS>> Please analyze the given Terraform script and provide feedback on its configuration. Input: <terraform code> resource "aws_lambda_function" "example_lambda" { function_name = "example_lambda" role = aws_iam_role.lambda_role.arn handler = "index.handler" runt...
<s>[INST] <<SYS>> Create a Terraform configuration to provision an AWS Lambda function with an associated IAM role. Input: <noinput> <</SYS>> resource "aws_iam_role" "lambda_role" { name = "lambda_role" assume_role_policy = jsonencode({ Version = "2012-10-17", Statement = [ ...
<s>[INST] <<SYS>> Write a Terraform script to deploy an AWS EC2 instance with a security group allowing SSH access. Input: <noinput> <</SYS>> resource "aws_instance" "example" { ami = "ami-0c55b159cbfafe1f0" instance_type = "t2.micro" tags = { Name = "ExampleInstance...
<s>[INST] <<SYS>> Please analyze the given Terraform script and provide feedback on its configuration. Input: <terraform code> resource "aws_lambda_function" "example_lambda" { function_name = "example_lambda" role = aws_iam_role.lambda_role.arn handler = "index.handler" runt...
<s>[INST] <<SYS>> Please analyze the given Terraform script and provide feedback on its configuration. Input: <terraform code> resource "aws_s3_bucket" "my_bucket" { bucket = "my_unique_bucket_name" acl = "private" } <</SYS>>The given Terraform script is analyzed here with feedback and sugg...
<s>[INST] <<SYS>> Please write a Terraform script to create an AWS S3 bucket with versioning enabled and public access blocked. Input: <noinput> <</SYS>> resource "aws_s3_bucket" "bucket" { bucket = "my-tf-test-bucket" acl = "private" versioning { enabled = true } ...
<s>[INST] <<SYS>> Please write a Terraform script to create an AWS S3 bucket with versioning enabled and public access blocked. Input: <noinput> <</SYS>> resource "aws_s3_bucket" "bucket" { bucket = "my-tf-test-bucket" acl = "private" versioning { enabled = true } ...
<s>[INST] <<SYS>> Create a Terraform configuration to provision an AWS Lambda function with an associated IAM role. Input: <noinput> <</SYS>> resource "aws_iam_role" "lambda_role" { name = "lambda_role" assume_role_policy = jsonencode({ Version = "2012-10-17", Statement = [ ...
<s>[INST] <<SYS>> Create a Terraform configuration to provision an AWS Lambda function with an associated IAM role. Input: <noinput> <</SYS>> resource "aws_iam_role" "lambda_role" { name = "lambda_role" assume_role_policy = jsonencode({ Version = "2012-10-17", Statement = [ ...
<s>[INST] <<SYS>> Please analyze the given Terraform script and provide feedback on its configuration. Input: <terraform code> resource "aws_lambda_function" "example_lambda" { function_name = "example_lambda" role = aws_iam_role.lambda_role.arn handler = "index.handler" runt...
<s>[INST] <<SYS>> Please write a Terraform script to create an AWS S3 bucket with versioning enabled and public access blocked. Input: <noinput> <</SYS>> resource "aws_s3_bucket" "bucket" { bucket = "my-tf-test-bucket" acl = "private" versioning { enabled = true } ...
<s>[INST] <<SYS>> Please write a Terraform script to create an AWS S3 bucket with versioning enabled and public access blocked. Input: <noinput> <</SYS>> resource "aws_s3_bucket" "bucket" { bucket = "my-tf-test-bucket" acl = "private" versioning { enabled = true } ...
<s>[INST] <<SYS>> Please analyze the given Terraform script and provide feedback on its configuration. Input: <terraform code> resource "aws_instance" "example" { ami = "ami-0c55b159cbfafe1f0" instance_type = "t2.micro" } <</SYS>>The given Terraform script is analyzed here with feedb...
<s>[INST] <<SYS>> Write a Terraform script to deploy an AWS EC2 instance with a security group allowing SSH access. Input: <noinput> <</SYS>> resource "aws_instance" "example" { ami = "ami-0c55b159cbfafe1f0" instance_type = "t2.micro" tags = { Name = "ExampleInstance...
<s>[INST] <<SYS>> Please analyze the given Terraform script and provide feedback on its configuration. Input: <terraform code> resource "aws_lambda_function" "example_lambda" { function_name = "example_lambda" role = aws_iam_role.lambda_role.arn handler = "index.handler" runt...
<s>[INST] <<SYS>> Please write a Terraform script to create an AWS S3 bucket with versioning enabled and public access blocked. Input: <noinput> <</SYS>> resource "aws_s3_bucket" "bucket" { bucket = "my-tf-test-bucket" acl = "private" versioning { enabled = true } ...
<s>[INST] <<SYS>> Create a Terraform configuration to provision an AWS Lambda function with an associated IAM role. Input: <noinput> <</SYS>> resource "aws_iam_role" "lambda_role" { name = "lambda_role" assume_role_policy = jsonencode({ Version = "2012-10-17", Statement = [ ...
<s>[INST] <<SYS>> Please analyze the given Terraform script and provide feedback on its configuration. Input: <terraform code> resource "aws_lambda_function" "example_lambda" { function_name = "example_lambda" role = aws_iam_role.lambda_role.arn handler = "index.handler" runt...
<s>[INST] <<SYS>> Please write a Terraform script to create an AWS S3 bucket with versioning enabled and public access blocked. Input: <noinput> <</SYS>> resource "aws_s3_bucket" "bucket" { bucket = "my-tf-test-bucket" acl = "private" versioning { enabled = true } ...
<s>[INST] <<SYS>> Write a Terraform script to deploy an AWS EC2 instance with a security group allowing SSH access. Input: <noinput> <</SYS>> resource "aws_instance" "example" { ami = "ami-0c55b159cbfafe1f0" instance_type = "t2.micro" tags = { Name = "ExampleInstance...
<s>[INST] <<SYS>> Please analyze the given Terraform script and provide feedback on its configuration. Input: <terraform code> resource "aws_s3_bucket" "my_bucket" { bucket = "my_unique_bucket_name" acl = "private" } <</SYS>>The given Terraform script is analyzed here with feedback and sugg...
<s>[INST] <<SYS>> Create a Terraform configuration to provision an AWS Lambda function with an associated IAM role. Input: <noinput> <</SYS>> resource "aws_iam_role" "lambda_role" { name = "lambda_role" assume_role_policy = jsonencode({ Version = "2012-10-17", Statement = [ ...
<s>[INST] <<SYS>> Create a Terraform configuration to provision an AWS Lambda function with an associated IAM role. Input: <noinput> <</SYS>> resource "aws_iam_role" "lambda_role" { name = "lambda_role" assume_role_policy = jsonencode({ Version = "2012-10-17", Statement = [ ...
<s>[INST] <<SYS>> Create a Terraform configuration to provision an AWS Lambda function with an associated IAM role. Input: <noinput> <</SYS>> resource "aws_iam_role" "lambda_role" { name = "lambda_role" assume_role_policy = jsonencode({ Version = "2012-10-17", Statement = [ ...
<s>[INST] <<SYS>> Please write a Terraform script to create an AWS S3 bucket with versioning enabled and public access blocked. Input: <noinput> <</SYS>> resource "aws_s3_bucket" "bucket" { bucket = "my-tf-test-bucket" acl = "private" versioning { enabled = true } ...
<s>[INST] <<SYS>> Please analyze the given Terraform script and provide feedback on its configuration. Input: <terraform code> resource "aws_lambda_function" "example_lambda" { function_name = "example_lambda" role = aws_iam_role.lambda_role.arn handler = "index.handler" runt...
<s>[INST] <<SYS>> Please analyze the given Terraform script and provide feedback on its configuration. Input: <terraform code> resource "aws_instance" "example" { ami = "ami-0c55b159cbfafe1f0" instance_type = "t2.micro" } <</SYS>>The given Terraform script is analyzed here with feedb...
<s>[INST] <<SYS>> Please analyze the given Terraform script and provide feedback on its configuration. Input: <terraform code> resource "aws_instance" "example" { ami = "ami-0c55b159cbfafe1f0" instance_type = "t2.micro" } <</SYS>>The given Terraform script is analyzed here with feedb...
<s>[INST] <<SYS>> Please analyze the given Terraform script and provide feedback on its configuration. Input: <terraform code> resource "aws_lambda_function" "example_lambda" { function_name = "example_lambda" role = aws_iam_role.lambda_role.arn handler = "index.handler" runt...
<s>[INST] <<SYS>> Please analyze the given Terraform script and provide feedback on its configuration. Input: <terraform code> resource "aws_s3_bucket" "my_bucket" { bucket = "my_unique_bucket_name" acl = "private" } <</SYS>>The given Terraform script is analyzed here with feedback and sugg...
<s>[INST] <<SYS>> Write a Terraform script to deploy an AWS EC2 instance with a security group allowing SSH access. Input: <noinput> <</SYS>> resource "aws_instance" "example" { ami = "ami-0c55b159cbfafe1f0" instance_type = "t2.micro" tags = { Name = "ExampleInstance...
<s>[INST] <<SYS>> Write a Terraform script to deploy an AWS EC2 instance with a security group allowing SSH access. Input: <noinput> <</SYS>> resource "aws_instance" "example" { ami = "ami-0c55b159cbfafe1f0" instance_type = "t2.micro" tags = { Name = "ExampleInstance...
<s>[INST] <<SYS>> Please analyze the given Terraform script and provide feedback on its configuration. Input: <terraform code> resource "aws_lambda_function" "example_lambda" { function_name = "example_lambda" role = aws_iam_role.lambda_role.arn handler = "index.handler" runt...
<s>[INST] <<SYS>> Please write a Terraform script to create an AWS S3 bucket with versioning enabled and public access blocked. Input: <noinput> <</SYS>> resource "aws_s3_bucket" "bucket" { bucket = "my-tf-test-bucket" acl = "private" versioning { enabled = true } ...
<s>[INST] <<SYS>> Write a Terraform script to deploy an AWS EC2 instance with a security group allowing SSH access. Input: <noinput> <</SYS>> resource "aws_instance" "example" { ami = "ami-0c55b159cbfafe1f0" instance_type = "t2.micro" tags = { Name = "ExampleInstance...
<s>[INST] <<SYS>> Write a Terraform script to deploy an AWS EC2 instance with a security group allowing SSH access. Input: <noinput> <</SYS>> resource "aws_instance" "example" { ami = "ami-0c55b159cbfafe1f0" instance_type = "t2.micro" tags = { Name = "ExampleInstance...
<s>[INST] <<SYS>> Please analyze the given Terraform script and provide feedback on its configuration. Input: <terraform code> resource "aws_instance" "example" { ami = "ami-0c55b159cbfafe1f0" instance_type = "t2.micro" } <</SYS>>The given Terraform script is analyzed here with feedb...
<s>[INST] <<SYS>> Please analyze the given Terraform script and provide feedback on its configuration. Input: <terraform code> resource "aws_lambda_function" "example_lambda" { function_name = "example_lambda" role = aws_iam_role.lambda_role.arn handler = "index.handler" runt...