source stringlengths 9 32 | type stringclasses 2
values | initial stringlengths 187 22.1k | utterance stringlengths 44 1.18k | expected stringlengths 234 22.1k | rejected stringlengths 80 22.1k | checks stringlengths 548 29.2k | metadata stringlengths 1.12k 1.89k | split stringclasses 1
value |
|---|---|---|---|---|---|---|---|---|
cfn-00079 | cloudformation | {"template.yaml":"{\n\t\"AWSTemplateFormatVersion\": \"2010-09-09\",\n\t\"Description\": \"(v2.0) AWS CFT to deploy a VPC with 4 subnets (Public, Private, HAsync, and HAmgmt) across 2x Availability Zones.\",\n\t\"Metadata\": {\n\t\t\"AWS::CloudFormation::Interface\": {\n\t\t\t\"ParameterGroups\": [\n\t\t\t\t{\n\t\t\t\t... | Modify the S3 VPC endpoint to allow all S3 actions (s3:*) instead of only s3:GetObject by updating its PolicyDocument statement action list. | {"template.yaml":"{\"AWSTemplateFormatVersion\":\"2010-09-09\",\"Description\":\"(v2.0) AWS CFT to deploy a VPC with 4 subnets (Public, Private, HAsync, and HAmgmt) across 2x Availability Zones.\",\"Metadata\":{\"AWS::CloudFormation::Interface\":{\"ParameterGroups\":[{\"Label\":{\"default\":\"VPC Configuration\"},\"Par... | {"template.yaml":"{\"AWSTemplateFormatVersion\":\"2010-09-09\",\"Description\":\"(v2.0) AWS CFT to deploy a VPC with 4 subnets (Public, Private, HAsync, and HAmgmt) across 2x Availability Zones.\",\"Metadata\":{\"AWS::CloudFormation::Interface\":{\"ParameterGroups\":[{\"Label\":{\"default\":\"VPC Configuration\"},\"Par... | {"P_static":{"profile":"cfn-parallel-independent-repair-refill-v6","definition":{"structural":[{"id":"cfn-lint","argv":["cfn-lint","--non-zero-exit-code","error","-t","{iac_files}"],"timeout":120,"version":"1.41.0"}],"security":[{"id":"checkov-cfn","argv":["checkov","-d",".","--framework","cloudformation","--quiet","--... | {"schema_version":"1.1-public","original_task_id":"00079","provenance":{"repository":"https://github.com/fortinet/aws-cloudformation-templates","commit":"ee1192b5c4bb845b717700ff1ef43173a6b32bb5","project_root":"FGCP/6.2/DualAZ","original_paths":["FGCP/6.2/DualAZ/BaseVPC_FGCP_DualAZ.template.json"],"prepared_paths":["t... | test |
cfn-00095 | cloudformation | {"template.yaml":"AWSTemplateFormatVersion: \"2010-09-09\"\nDescription: A CloudFormation template example demonstrating how to generate random numbers.\n\n# Resources declared by this template.\nResources:\n\n # Definition of the evaluation resource stack.\n EvaluationResourceStack:\n Type: AWS::CloudFormation::S... | Modify the Custom::RandomGeneratorFunction so that the generated Foo and Bar strings are returned in uppercase letters instead of lowercase. | {"template.yaml":"AWSTemplateFormatVersion: \"2010-09-09\"\nDescription: A CloudFormation template example demonstrating how to generate random numbers.\n\n# Resources declared by this template.\nResources:\n\n # Definition of the evaluation resource stack.\n EvaluationResourceStack:\n Type: AWS::CloudFormation::S... | {"template.yaml":"AWSTemplateFormatVersion: \"2010-09-09\"\nDescription: A CloudFormation template example demonstrating how to generate random numbers.\n\n# Resources declared by this template.\nResources:\n\n # Definition of the evaluation resource stack.\n EvaluationResourceStack:\n Type: AWS::CloudFormation::S... | {"P_static":{"profile":"cfn-parallel-independent-repair-refill-v6","definition":{"structural":[{"id":"cfn-lint","argv":["cfn-lint","--non-zero-exit-code","error","-t","{iac_files}"],"timeout":120,"version":"1.41.0"}],"security":[{"id":"checkov-cfn","argv":["checkov","-d",".","--framework","cloudformation","--quiet","--... | {"schema_version":"1.1-public","original_task_id":"00095","provenance":{"repository":"https://github.com/HQarroum/cfn-eval","commit":"2b55b7d291d8b527e728d15d8ae974a29648b63e","project_root":"examples/random-generator","original_paths":["examples/random-generator/cloudformation.yml"],"prepared_paths":["template.yaml"],... | test |
cfn-00099 | cloudformation | {"template.yaml":"AWSTemplateFormatVersion: '2010-09-09'\nDescription: 'Networking básico: VPC pública com Subnet, IGW e rota default'\n\nParameters:\n VpcCidr:\n Type: String\n Default: 10.0.0.0/16\n PublicSubnetCidr:\n Type: String\n Default: 10.0.1.0/24\n TagOwner:\n Type: String\n Default: Fiam... | Modify the template so that the PublicSubnet resource has MapPublicIpOnLaunch set to false instead of true. | {"template.yaml":"AWSTemplateFormatVersion: '2010-09-09'\nDescription: 'Networking básico: VPC pública com Subnet, IGW e rota default'\n\nParameters:\n VpcCidr:\n Type: String\n Default: 10.0.0.0/16\n PublicSubnetCidr:\n Type: String\n Default: 10.0.1.0/24\n TagOwner:\n Type: String\n Default: Fiam... | {"template.yaml":"AWSTemplateFormatVersion: '2010-09-09'\nDescription: 'Networking básico: VPC pública com Subnet, IGW e rota default'\n\nParameters:\n VpcCidr:\n Type: String\n Default: 10.0.0.0/16\n PublicSubnetCidr:\n Type: String\n Default: 10.0.1.0/24\n TagOwner:\n Type: String\n Default: Fiam... | {"P_static":{"profile":"cfn-parallel-independent-repair-refill-v6","definition":{"structural":[{"id":"cfn-lint","argv":["cfn-lint","--non-zero-exit-code","error","-t","{iac_files}"],"timeout":120,"version":"1.41.0"}],"security":[{"id":"checkov-cfn","argv":["checkov","-d",".","--framework","cloudformation","--quiet","--... | {"schema_version":"1.1-public","original_task_id":"00099","provenance":{"repository":"https://github.com/fiamaribeiro/aws-cloudformation-project","commit":"d8b180ca111db72711acbca03fc3ac637068d082","project_root":"templates","original_paths":["templates/01-networking.yaml"],"prepared_paths":["template.yaml"],"per_file_... | test |
cfn-00160 | cloudformation | {"template.yaml":"{\n\t\"AWSTemplateFormatVersion\": \"2010-09-09\",\n\t\"Description\": \"API Gateway REST API with IAM authentication for GitHub.com and weather.gov HTTP integrations.\",\n\t\"Parameters\": {\n\t\t\"ContactEmail\": {\n\t\t\t\"Type\": \"String\",\n\t\t\t\"Description\": \"Contact email for User-Agent h... | Modify the GitHubProxyGetMethod to use HTTP POST instead of GET, updating its HttpMethod property to 'POST' and ensuring the IntegrationHttpMethod remains 'POST' while keeping all other properties unchanged. | {"template.yaml":"{\n \"AWSTemplateFormatVersion\": \"2010-09-09\",\n \"Description\": \"API Gateway REST API with IAM authentication for GitHub.com and weather.gov HTTP integrations.\",\n \"Parameters\": {\n \"ContactEmail\": {\n \"Type\": \"String\",\n \"Description\": \"Contact email for User-Agent h... | {"template.yaml":"AWSTemplateFormatVersion: \"2010-09-09\"\nDescription: \"API Gateway REST API with IAM authentication for GitHub.com and weather.gov HTTP integrations.\",\nParameters:\n ContactEmail:\n Type: String\n Description: \"Contact email for User-Agent header in weather.gov requests.\",\nResources:\n ... | {"P_static":{"profile":"cfn-parallel-independent-repair-refill-v6","definition":{"structural":[{"id":"cfn-lint","argv":["cfn-lint","--non-zero-exit-code","error","-t","{iac_files}"],"timeout":120,"version":"1.41.0"}],"security":[{"id":"checkov-cfn","argv":["checkov","-d",".","--framework","cloudformation","--quiet","--... | {"schema_version":"1.1-public","original_task_id":"00160","provenance":{"repository":"https://github.com/mlhpdx/cloudformation-examples","commit":"157bafa913139b128841b63e8c8230b4a094d83a","project_root":"scheduled-http-requests/templates","original_paths":["scheduled-http-requests/templates/outside-endpoints-api.templ... | test |
cfn-00361 | cloudformation | {"template.yaml":"{\n \"AWSTemplateFormatVersion\": \"2010-09-09\",\n \"Description\": \"Security Group for Envoyer\",\n \"Parameters\": {\n \"VPC\": {\n \"Type\": \"AWS::EC2::VPC::Id\",\n \"Description\": \"VPC where the Security Group will belong\"\n },\n \"Name\": {\n \"Type\": \"String\",... | Add an additional inbound rule to the EnvoyerSG security group that allows TCP traffic on port 80 from the CIDR block 10.0.0.0/8. | {"template.yaml":"{\n \"AWSTemplateFormatVersion\": \"2010-09-09\",\n \"Description\": \"Security Group for Envoyer\",\n \"Parameters\": {\n \"VPC\": {\n \"Type\": \"AWS::EC2::VPC::Id\",\n \"Description\": \"VPC where the Security Group will belong\"\n },\n \"Name\": {\n \"Type\": \"String\",... | {"template.yaml":"AWSTemplateFormatVersion: \"2010-09-09\"\nDescription: \"Security Group for Envoyer\"\nParameters:\n VPC:\n Type: \"AWS::EC2::VPC::Id\"\n Description: \"VPC where the Security Group will belong\"\n Name:\n Type: String\n Description: \"Name Tag of the Security Group\"\n Description:\n ... | {"P_static":{"profile":"cfn-parallel-independent-repair-refill-v6","definition":{"structural":[{"id":"cfn-lint","argv":["cfn-lint","--non-zero-exit-code","error","-t","{iac_files}"],"timeout":120,"version":"1.41.0"}],"security":[{"id":"checkov-cfn","argv":["checkov","-d",".","--framework","cloudformation","--quiet","--... | {"schema_version":"1.1-public","original_task_id":"00361","provenance":{"repository":"https://github.com/jwiegant/aws-cloudformation-templates","commit":"cba0c453f19d649cf3f94f79753fbf0bcc62c63e","project_root":"envoyer.io","original_paths":["envoyer.io/aws_envoyer_security_group.json"],"prepared_paths":["template.yaml... | test |
cfn-00370 | cloudformation | {"template.yaml":"{\n \"AWSTemplateFormatVersion\": \"2010-09-09\",\n \"Description\": \"Deploys managed nodegroup for EKS, and installs Graylog API Security Helm chart. Installation details are stored in an S3-hosted static website.\",\n \"Parameters\": {\n \"EKSClusterName\": {\n \"Type\": \"String\",\n ... | Modify the CloudFormation template so that the HelmStack resource no longer depends on the NodeGroupStack. The HelmStack should be created independently, without a DependsOn clause, while preserving all existing properties and parameters. | {"template.yaml":"{\n \"AWSTemplateFormatVersion\": \"2010-09-09\",\n \"Description\": \"Deploys managed nodegroup for EKS, and installs Graylog API Security Helm chart. Installation details are stored in an S3-hosted static website.\",\n \"Parameters\": {\n \"EKSClusterName\": {\n \"Type\": \"String\",\n ... | {"template.yaml":"{\"AWSTemplateFormatVersion\":\"2010-09-09\",\"Description\":\"Deploys managed nodegroup for EKS, and installs Graylog API Security Helm chart. Installation details are stored in an S3-hosted static website.\",\"Parameters\":{\"EKSClusterName\":{\"Type\":\"String\",\"Description\":\"Enter the name of ... | {"P_static":{"profile":"cfn-parallel-independent-repair-refill-v6","definition":{"structural":[{"id":"cfn-lint","argv":["cfn-lint","--non-zero-exit-code","error","-t","{iac_files}"],"timeout":120,"version":"1.41.0"}],"security":[{"id":"checkov-cfn","argv":["checkov","-d",".","--framework","cloudformation","--quiet","--... | {"schema_version":"1.1-public","original_task_id":"00370","provenance":{"repository":"https://github.com/resurfaceio/iac","commit":"80d75686f9857429afdff195f2832625b0cc2ab7","project_root":"aws/eks","original_paths":["aws/eks/eks-nodes-helm.json"],"prepared_paths":["template.yaml"],"per_file_original_mapping_verified":... | test |
cfn-00372 | cloudformation | {"template.yaml":"{\n \"AWSTemplateFormatVersion\": \"2010-09-09\",\n \"Description\": \"Deploys EKS managed node group.\",\n \"Parameters\": {\n \"EKSClusterName\": {\n \"Type\" : \"String\",\n \"Description\" : \"Enter the name of your existing EKS cluster. Required.\"\n },\n \"EKSClusterSubnets... | Modify the template so that the IAM role created for the EKS node group uses a RoleName that is derived from the EKSClusterName parameter instead of the hard‑coded value 'CFEKSNodeRole'. The new RoleName should be the cluster name followed by '-node-role', e.g., if EKSClusterName is 'prod-cluster' the RoleName should b... | {"template.yaml":"{\n \"AWSTemplateFormatVersion\": \"2010-09-09\",\n \"Description\": \"Deploys EKS managed node group.\",\n \"Parameters\": {\n \"EKSClusterName\": {\n \"Type\" : \"String\",\n \"Description\" : \"Enter the name of your existing EKS cluster. Required.\"\n },\n \"EKSClusterSubnets... | {"template.yaml":"AWSTemplateFormatVersion: 2010-09-09\nDescription: Deploys EKS managed node group.\nParameters:\n EKSClusterName:\n Type: String\n Description: Enter the name of your existing EKS cluster. Required.\n EKSClusterSubnets:\n Type: List<AWS::EC2::Subnet::Id>\n Description: Select all subnets... | {"P_static":{"profile":"cfn-parallel-independent-repair-refill-v6","definition":{"structural":[{"id":"cfn-lint","argv":["cfn-lint","--non-zero-exit-code","error","-t","{iac_files}"],"timeout":120,"version":"1.41.0"}],"security":[{"id":"checkov-cfn","argv":["checkov","-d",".","--framework","cloudformation","--quiet","--... | {"schema_version":"1.1-public","original_task_id":"00372","provenance":{"repository":"https://github.com/resurfaceio/iac","commit":"80d75686f9857429afdff195f2832625b0cc2ab7","project_root":"aws/eks/nested","original_paths":["aws/eks/nested/eks-nodes.json"],"prepared_paths":["template.yaml"],"per_file_original_mapping_v... | test |
cfn-00374 | cloudformation | {"template.yaml":"---\nAWSTemplateFormatVersion: '2010-09-09'\nDescription: 'AWS CloudFormation template to create a VPC with public and private subnets'\n\nResources:\n\n MyVPC:\n Type: AWS::EC2::VPC\n Properties:\n CidrBlock: 10.0.0.0/16\n EnableDnsHostnames: true\n EnableDnsSupport: true\n ... | Modify the InternetGateway resource to change its Name tag value from 'my-igw-my-vpc' to 'my-igw-vpc'. | {"template.yaml":"---\nAWSTemplateFormatVersion: '2010-09-09'\nDescription: 'AWS CloudFormation template to create a VPC with public and private subnets'\n\nResources:\n\n MyVPC:\n Type: AWS::EC2::VPC\n Properties:\n CidrBlock: 10.0.0.0/16\n EnableDnsHostnames: true\n EnableDnsSupport: true\n ... | {"template.yaml":"---\nAWSTemplateFormatVersion: '2010-09-09'\nDescription: 'AWS CloudFormation template to create a VPC with public and private subnets'\n\nResources:\n\n MyVPC:\n Type: AWS::EC2::VPC\n Properties:\n CidrBlock: 10.0.0.0/16\n EnableDnsHostnames: true\n EnableDnsSupport: true\n ... | {"P_static":{"profile":"cfn-parallel-independent-repair-refill-v6","definition":{"structural":[{"id":"cfn-lint","argv":["cfn-lint","--non-zero-exit-code","error","-t","{iac_files}"],"timeout":120,"version":"1.41.0"}],"security":[{"id":"checkov-cfn","argv":["checkov","-d",".","--framework","cloudformation","--quiet","--... | {"schema_version":"1.1-public","original_task_id":"00374","provenance":{"repository":"https://github.com/harshkhalkar/CloudFormation","commit":"0c245f9737ecf986daa60e63359bad71e8123296","project_root":".","original_paths":["My-VPC.yml"],"prepared_paths":["template.yaml"],"per_file_original_mapping_verified":true,"licen... | test |
cfn-00382 | cloudformation | "{\"template.yaml\":\"Parameters:\\n UserName:\\n Type: String\\n Description: User Name\\nRe(...TRUNCATED) | "Add a new statement to the ManagedMFAPolicy that allows the user to list all IAM roles in the accou(...TRUNCATED) | "{\"template.yaml\":\"Parameters:\\n UserName:\\n Type: String\\n Description: User Name\\nRe(...TRUNCATED) | "{\"template.yaml\":\"Parameters:\\n UserName:\\n Type: String\\n Description: User Name\\nRe(...TRUNCATED) | "{\"P_static\":{\"profile\":\"cfn-parallel-independent-repair-refill-v6\",\"definition\":{\"structur(...TRUNCATED) | "{\"schema_version\":\"1.1-public\",\"original_task_id\":\"00382\",\"provenance\":{\"repository\":\"(...TRUNCATED) | test |
cfn-00422 | cloudformation | "{\"template.yaml\":\"{\\n \\\"AWSTemplateFormatVersion\\\": \\\"2010-09-09\\\",\\n \\\"Descriptio(...TRUNCATED) | "Change the default value of the MapPublicIpOnLaunch parameter to true so that the subnet automatica(...TRUNCATED) | "{\"template.yaml\":\"{\\n \\\"AWSTemplateFormatVersion\\\": \\\"2010-09-09\\\",\\n \\\"Descriptio(...TRUNCATED) | "{\"template.yaml\":\"AWSTemplateFormatVersion: 2010-09-09\\nDescription: A VPC with 1 subnet.\\nMet(...TRUNCATED) | "{\"P_static\":{\"profile\":\"cfn-parallel-independent-repair-refill-v6\",\"definition\":{\"structur(...TRUNCATED) | "{\"schema_version\":\"1.1-public\",\"original_task_id\":\"00422\",\"provenance\":{\"repository\":\"(...TRUNCATED) | test |
IaCEdit
An infrastructure-as-code editing evaluation set containing 1,000 tasks, all
with an existing positive and negative response. The cloudformation and
terraform configurations each contain 500 test tasks; default combines
both types. There are no training or validation splits in this repository.
| Configuration | Split | Tasks | Positive/negative pairs |
|---|---|---|---|
| cloudformation | test | 500 | 500 |
| terraform | test | 500 | 500 |
| default | test | 1,000 | 1,000 |
Loading
from datasets import load_dataset
cfn_test = load_dataset("xingw3456/IaCEdit", "cloudformation", split="test")
tf_test = load_dataset("xingw3456/IaCEdit", "terraform", split="test")
all_test = load_dataset("xingw3456/IaCEdit", split="test")
Task columns
source, type, initial, utterance, expected, rejected, checks,
metadata, split. Configuration maps, checks and metadata are JSON-encoded
strings. expected contains the positive configuration and rejected contains
the existing negative response; neither is null. Some negatives are original raw
responses rather than decoded file maps. Read
metadata.generation.rejected_representation to distinguish these cases.
Selection and evaluation
This is the local split revision of the 12,000-task IaCEdit source.
Source licensing and attribution
Each row retains its pinned upstream repository, commit, effective source license,
license-document references and modification notice. See LICENSES.md,
sources.jsonl and licenses/. Required source-specific grant texts, NOTICE
material and attribution are packaged with the data. There is no replacement
blanket license for the upstream sources; retain their applicable terms and files.
The existing release used automated pinned-source grant, file-scope, source-header, notice and packaging checks. This release reuses the exact previously public task content and required documents, verifies their hashes, and changes only the split assignment. These checks do not claim legal certification or independent human approval. Upstream configurations and generated edits may contain errors.
Public metadata
Task values are preserved from the canonical table. Metadata is restricted to the
previous public provenance, response representation and source-specific licensing
fields. Internal historical records, training logs and local filesystem pointers
are omitted. Checks retain the previous portable public representation.
sources.jsonl binds each exported row and its license documents to its current
canonical task fingerprint; release-manifest.json records counts and file hashes.
- Downloads last month
- 91