conversations listlengths 2 3 | source stringclasses 1 value | stack stringclasses 1 value |
|---|---|---|
[
{
"from": "system",
"value": "Add GitLab IP Address as output"
},
{
"from": "human",
"value": "/**\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a cop... | hcl | chosen |
[
{
"from": "system",
"value": "Reduce prod workers to count = 1\n"
},
{
"from": "human",
"value": "provider \"google\" {}\n\nmodule \"gce_org_prod_workers\" {\n source = \"github.com/travis-infrastructure/tf_gce_travis_worker\"\n instance_count = 3\n site = \"org\"\n environment = \"prod\"\n ... | hcl | chosen |
[
{
"from": "system",
"value": "Use more recent base image for mirror\n"
},
{
"from": "human",
"value": "\nmodule \"mirror\" {\n source = \"../host\"\n\n base_configuration = var.base_configuration\n name = \"mirror\"\n use_os_released_updates = var.use_os_released_upda... | hcl | chosen |
[
{
"from": "system",
"value": "Add the VPC IP range so that other VPC hosts can ssh\n"
},
{
"from": "human",
"value": "module \"mesos\" {\n source = \"github.com/bobtfish/tf_aws_mesos\"\n adminlbs = \"1\"\n lbs = \"2\"\n ... | hcl | chosen |
[
{
"from": "system",
"value": "Create association between subnet & routing table\n\nCreate association between Router subnets & routing table\n"
},
{
"from": "human",
"value": "resource \"aws_eip\" \"cf\" {\n count = \"${var.zone_count}\"\n vpc = true\n}\n\nresource \"aws_nat_gateway\" \"cf\" {... | hcl | chosen |
[
{
"from": "system",
"value": "Fix example module output reference\n"
},
{
"from": "human",
"value": "/**\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain... | hcl | chosen |
[
{
"from": "system",
"value": "Allow read access to Travis can resolve other S3 dependencies\n"
},
{
"from": "human",
"value": "data \"aws_iam_policy_document\" \"travis_permissions\" {\n statement {\n actions = [\n \"s3:*\",\n ]\n\n resources = [\n \"${var.bucket_arn}/uk/ac/w... | hcl | chosen |
[
{
"from": "system",
"value": "Make the S3 bucket a static website\n"
},
{
"from": "human",
"value": "resource \"aws_s3_bucket\" \"releases\" {\n bucket = \"releases.mvn-repo.wellcomecollection.org\"\n acl = \"private\"\n\n lifecycle {\n prevent_destroy = true\n }\n\n lifecycle_rule {\... | hcl | chosen |
[
{
"from": "system",
"value": "[testnet] Fix minor bug in forge terraform\n\nThis was preventing a non forge testnet from coming online because it assumed there was a index 0\n"
},
{
"from": "human",
"value": "output \"forge-s3-bucket\" {\n value = aws_s3_bucket.aptos-testnet-helm[0].bucket\n}\n... | hcl | chosen |
[
{
"from": "system",
"value": "Deploy master nodes with a public ip\n"
},
{
"from": "human",
"value": "resource \"aws_instance\" \"master\" {\n count = \"${ var.master_node_count }\"\n\n ami = \"${ var.ami_id }\"\n iam_instance_profile = \"${ var.instance_profile_name }\"\n instance_type = \"... | hcl | chosen |
[
{
"from": "system",
"value": "Update RDS engine versions to latest supported"
},
{
"from": "human",
"value": "variable \"identifier\" {\n default = \"mydb-rds\"\n description = \"Identifier for your DB\"\n}\n\nvariable \"storage\" {\n default = \"10\"\n description = \"Storage size i... | hcl | chosen |
[
{
"from": "system",
"value": "Split Nameserver Jobs for Packet\n"
},
{
"from": "human",
"value": "#Configure Resolve.conf\nresource \"null_resource\" \"resolv_conf\" {\n\n provisioner \"local-exec\" {\n command = <<EOF\necho -e \"nameserver ${ module.master.nameserver }\\n$(cat /etc/resolv.c... | hcl | chosen |
[
{
"from": "system",
"value": "GPII-3970: Convert Istio public IP to static\n\nNote on \"PREMIUM\" network tier: Premium is Google's default, it's the\ntier we currently use and apart from implication on performance, it's\nthe only tier that is available across all regions and the only tier\nthat can be used... | hcl | chosen |
[
{
"from": "system",
"value": "Allow tokens to create child tokens for Terraform usage\n"
},
{
"from": "human",
"value": "# Allow tokens to look up their own properties\npath \"auth/token/lookup-self\" {\n capabilities = [\"read\"]\n}\n\n# Allow tokens to renew themselves\npath \"auth/token/re... | hcl | chosen |
[
{
"from": "system",
"value": "Read permission also required for credentials.\n"
},
{
"from": "human",
"value": "#\npath \"auth/token/lookup-self\" {\n policy = \"read\"\n}\n\npath \"cubbyhole/*\" {\n policy = \"write\"\n}\n\n# Handle Endpoint server credentials\npath \"secret/endpoint/*\" ... | hcl | chosen |
[
{
"from": "system",
"value": "Add S3 Backend for Packet"
},
{
"from": "human",
"value": "# Configure the Packet Provider\n# https://www.terraform.io/docs/providers/packet/index.html\n# PACKET_AUTH_TOKEN must be set\n# resource \"packet_project\" \"cncf\" {\n# name = \"${ var.name }\"\n# ... | hcl | chosen |
[
{
"from": "system",
"value": "CHANGE to larger instances to have some more headroom\n"
},
{
"from": "human",
"value": "# Default instance size\n# Options: nano_1_0, micro_1_0, small_1_0, medium_1_0, large_1_0\n# Override: -var 'size=your-size'\nvariable \"size\" {\n default = \"micro_1_0\"\n}\n... | hcl | chosen |
[
{
"from": "system",
"value": "Revert \"IAM Role not roles\"\n\nThis reverts commit ccaf0a17adcfffabefa7531359b93dbaa94ba1fb.\n"
},
{
"from": "human",
"value": "// Create IAM Role\nresource \"aws_iam_role\" \"iam_role\" {\n name = \"${var.environment_name}-${var.unique_id}elk-role\"\n\n assume_... | hcl | chosen |
[
{
"from": "system",
"value": "Configure providers for test setup\n\nUse Google 2.12.0 to avoid IAM issue\n"
},
{
"from": "human",
"value": "/**\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in complian... | hcl | chosen |
[
{
"from": "system",
"value": "Update link to the team manual for datadog alerts\n\nWe are deploying the team manual as a github page as in the PR[1]\n\nWe must update the urls to the runbooks set in the datadog alerts.\n\n[1] https://github.com/alphagov/paas-team-manual/pull/195\n"
},
{
"from": "hum... | hcl | chosen |
[
{
"from": "system",
"value": "Update domain setup to fix SERVFAIL error\n"
},
{
"from": "human",
"value": "resource \"digitalocean_domain\" \"domain\" {\n name = \"jenkins.unguiculus.io\"\n ip_address = \"${digitalocean_droplet.jenkins.ipv4_address}\"\n}\n"
},
{
"from": "gpt",
"val... | hcl | chosen |
[
{
"from": "system",
"value": "Remove redundant variables in static module\n"
},
{
"from": "human",
"value": "variable \"azs\" {\n default = {\n us-east-1 = \"us-east-1a,us-east-1b,us-east-1c,us-east-1d,us-east-1e,us-east-1f\"\n us-west-2 = \"us-west-2a,us-west-2b,us-west-2c\"\n ... | hcl | chosen |
[
{
"from": "human",
"value": "Add shared disk storage: Accountapp\n"
},
{
"from": "gpt",
"value": "#\n# This terraform plan defines the resources necessary to host accounts.jenkins.io files\n#\nresource \"azurerm_resource_group\" \"accountapp\" {\n name = \"${var.prefix}accountapp\"\n l... | hcl | chosen |
[
{
"from": "system",
"value": "Remove GitHub HashiBot notifications to Slack\n\nThese are no longer needed by the maintainers.\n"
},
{
"from": "human",
"value": "behavior \"regexp_issue_labeler\" \"panic_label\" {\n regexp = \"panic:\"\n labels = [\"crash\", \"bug\"]\n}\n\nbehavior \"regexp... | hcl | chosen |
[
{
"from": "system",
"value": "Add group name output to gsuite_group module\n"
},
{
"from": "human",
"value": "/**\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You m... | hcl | chosen |
[
{
"from": "system",
"value": "Remove extra commas from policy JSON\n"
},
{
"from": "human",
"value": "resource \"aws_s3_bucket\" \"dev_uploads_s3_bucket\" {\n bucket = \"digitalmarketplace-dev-uploads\"\n acl = \"private\"\n policy = <<POLICY\n{\n \"Version\": \"2012-10-17\",\n \"Stateme... | hcl | chosen |
[
{
"from": "system",
"value": "Enable access logging on Jenkins instance ELB\n"
},
{
"from": "human",
"value": "resource \"aws_elb\" \"jenkins_elb\" {\n name = \"${var.name}-ELB\"\n subnets = [\"${aws_instance.jenkins.subnet_id}\"]\n instances = [\"${aws_instance.jenki... | hcl | chosen |
[
{
"from": "system",
"value": "Disable lifecycle rules on the S3 bucket\n\nSo we don't lose the records we've already fetched!\n"
},
{
"from": "human",
"value": "resource \"aws_s3_bucket\" \"sierra_data\" {\n bucket = \"wellcomecollection-sierra-adapter-data\"\n\n lifecycle_rule {\n id ... | hcl | chosen |
[
{
"from": "system",
"value": "Add Kubelet kubeconfig output for DigitalOcean\n\n* Allow the raw kubelet kubeconfig to be consumed via\nTerraform output\n"
},
{
"from": "human",
"value": "output \"kubeconfig-admin\" {\n value = module.bootstrap.kubeconfig-admin\n}\n\noutput \"controllers_dns\" {... | hcl | chosen |
[
{
"from": "human",
"value": "Create security group for apps\n"
},
{
"from": "gpt",
"value": "##Amazon Infrastructure\nprovider \"aws\" {\n region = \"${var.aws_region}\"\n}\n\n##Create applications security group\nresource \"aws_security_group\" \"app_sg\" {\n name = \"app_sg\"\n vpc_i... | hcl | chosen |
[
{
"from": "system",
"value": "Remove region from openstack keypair module\n"
},
{
"from": "human",
"value": "variable auth_url {}\nvariable tenant_id {}\nvariable tenant_name {}\nvariable region {}\nvariable keypair_name {}\nvariable public_key {}\n\nprovider \"openstack\" {\n auth_url = \... | hcl | chosen |
[
{
"from": "system",
"value": "Switch to the Python 3.6 runtime for our Lambdas\n"
},
{
"from": "human",
"value": "data \"archive_file\" \"lambda_zip_file\" {\n type = \"zip\"\n source_file = \"${var.filename}\"\n output_path = \"/tmp/${var.name}.zip\"\n}\n\nresource \"aws_lambda_functi... | hcl | chosen |
[
{
"from": "system",
"value": "Use correct hash to check lambda source zip\n"
},
{
"from": "human",
"value": "# Specify the provider and access details\nprovider \"aws\" {\n region = \"${var.aws_region}\"\n}\n\nprovider \"archive\" {}\n\ndata \"archive_file\" \"zip\" {\n type = \"zip\"\n... | hcl | chosen |
[
{
"from": "system",
"value": "Fix Nameing for SSL Cert Creation\n"
},
{
"from": "human",
"value": "#Gen Certs and SSH KeyPair\nresource \"null_resource\" \"ssh_gen\" {\n\n provisioner \"local-exec\" {\n command = <<EOF\n${ path.module }/init-cfssl \\\n${ var.data_dir }/.cfssl \\\n${ azurerm_... | hcl | chosen |
[
{
"from": "system",
"value": "Add a CloudWatchLogs VPC endpoint\n"
},
{
"from": "human",
"value": "resource \"aws_security_group\" \"service_egress_security_group\" {\n name = \"${var.namespace}_service_egress_security_group\"\n description = \"Allow traffic between services\"\n vpc_id... | hcl | chosen |
[
{
"from": "system",
"value": "Update comment with correct second value\n"
},
{
"from": "human",
"value": "resource \"aws_cloudwatch_metric_alarm\" \"status_code_alarm\" {\n alarm_name = \"${var.environment}-${var.status_code}s\"\n alarm_description = \"Alerts on ${var.status_code} on th... | hcl | chosen |
[
{
"from": "human",
"value": "Add internal A records for all db servers\n"
},
{
"from": "gpt",
"value": "#--------------------------------------------------------------\n# Route53 Hosted Zone\n#--------------------------------------------------------------\nresource \"aws_route53_zone\" \"hosted_... | hcl | chosen |
[
{
"from": "system",
"value": "Add AMI for `eu-west-1` and update one for `eu-central-1`\n"
},
{
"from": "human",
"value": "variable \"cluster\" {\n description = \"Kubernetes cluster suffix\"\n default = \"a1\"\n}\n\nvariable \"ec2_region\" {\n description = \"EC2 region\"\n default ... | hcl | chosen |
[
{
"from": "system",
"value": "Configure provider for the cloud build cluster role binding\n"
},
{
"from": "human",
"value": "provider \"kubernetes\" {\n alias = \"configuration-gke-cluster\"\n load_config_file = false\n\n host = \"https://${google_container_cluster.configuration-g... | hcl | chosen |
[
{
"from": "system",
"value": "Add comment clarifying what this variable represents\n"
},
{
"from": "human",
"value": "resource \"aws_key_pair\" \"jenkins\" {\n key_name = \"${var.ssh_key_name}\"\n public_key = \"${var.jenkins_public_key}\" # injected by Makefile-common\n}\n\nmodule \"jenkins... | hcl | chosen |
[
{
"from": "system",
"value": "Add SNS:Publish permissions to the build\n"
},
{
"from": "human",
"value": "data \"aws_iam_policy_document\" \"travis_permissions\" {\n statement {\n actions = [\n \"ecr:*\",\n ]\n\n resources = [\n \"*\",\n ]\n }\n\n statement {\n action... | hcl | chosen |
[
{
"from": "system",
"value": "Remove - from storage account name\n"
},
{
"from": "human",
"value": "#\n# This terraform plan defines the resources necessary to host azure.updates.jenkins.io\n# updates-proxy.jenkins.io only contains htaccess files generated by https://github.com/jenkins-infra/upd... | hcl | chosen |
[
{
"from": "human",
"value": "Add a sample .hcl test case\n\nFor comparison, this file is a direct conversion of `MyTestSuiteSSH.yml`\nto HCL.\n"
},
{
"from": "gpt",
"value": "name = \"MyTestSuite\"\n\ntestcase {\n name = \"ssh foo status\"\n\n step {\n type = \"ssh\"\n host = \"localhost... | hcl | chosen |
[
{
"from": "system",
"value": "Use a pinned version of the tf-modules\n"
},
{
"from": "human",
"value": "module \"cluster_host\" {\n source = \"git::https://github.com/wellcometrust/terraform.git//ecs/modules/ec2/prebuilt/ebs?ref=4a81e34\"\n\n cluster_name = \"${aws_ecs_cluster.cluster.name}\"\... | hcl | chosen |
[
{
"from": "system",
"value": "Fix Fedora CoreOS Azure MTU with Calico\n\n* With Calico VXLAN on Fedora CoreOS the 1450 MTU should\nbe used\n"
},
{
"from": "human",
"value": "# Kubernetes assets (kubeconfig, manifests)\nmodule \"bootstrap\" {\n source = \"git::https://github.com/poseidon/terrafo... | hcl | chosen |
[
{
"from": "human",
"value": "Add new backups role in backups account and allow main/group to assume it\n"
},
{
"from": "gpt",
"value": "resource \"aws_iam_role\" \"backups_role\" {\n name = \"backups\"\n\n assume_role_policy = <<EOF\n{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {... | hcl | chosen |
[
{
"from": "system",
"value": "Enable ELB access log shipping to S3 for Router\n\nSend the access logs for all the tenants traffic that goes to the\nrouters.\n\nWe will send them every 5 minutes (minimum allowed)\n"
},
{
"from": "human",
"value": "resource \"aws_elb\" \"cf_router\" {\n name = \"... | hcl | chosen |
[
{
"from": "system",
"value": "Increase period for notifications when someone attempts to reset admin manager password from 60s to 300s\n\n- see:\n - trello: https://trello.com/c/xeZofjDd\n - rfc: https://docs.google.com/document/d/1yTXLCdHicPqdu0wAR1-fqOiL3cedIonjjA2_kS-YXAI\n- in theory, having a window ... | hcl | chosen |
[
{
"from": "system",
"value": "Annotate where processed images end up\n"
},
{
"from": "human",
"value": "resource \"aws_s3_bucket\" \"wellcomecollection-images\" {\n bucket = \"wellcomecollection-images\"\n acl = \"private\"\n\n lifecycle_rule {\n id = \"library\"\n prefix = \"lib... | hcl | chosen |
[
{
"from": "system",
"value": "Use [] around depends_on value."
},
{
"from": "human",
"value": "resource \"aws_db_instance\" \"default\" {\n depends_on = \"aws_security_group.default\"\n identifier = \"${var.identifier}\"\n allocated_storage = \"${var.storage}\"\n engine = \"${var.engine}\"\n... | hcl | chosen |
[
{
"from": "system",
"value": "Add a default for random_string_for_testing\n"
},
{
"from": "human",
"value": "/**\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You ma... | hcl | chosen |
[
{
"from": "system",
"value": "Remove GitHub HashiBot notifications to Slack\n\nThese are no longer needed by the maintainers.\n"
},
{
"from": "human",
"value": "behavior \"regexp_issue_labeler\" \"panic_label\" {\n regexp = \"panic:\"\n labels = [\"crash\", \"bug\"]\n}\n\nbehavior \"regexp... | hcl | chosen |
[
{
"from": "system",
"value": "Change a tag to not have my name on it\n\nSigned-off-by: Jose Cortes <90db7b580b32d49369f56eb8df8e548917a57096@datawire.io>\n"
},
{
"from": "human",
"value": "data \"aws_availability_zones\" \"available\" {\n state = \"available\"\n}\n\nlocals {\n global_tags = {\... | hcl | chosen |
[
{
"from": "system",
"value": "Create a new route table with the correct KubernetesCluster tags\n"
},
{
"from": "human",
"value": "resource \"aws_internet_gateway\" \"cncf\" {\n vpc_id = \"${ aws_vpc.cncf.id }\"\n\n tags {\n KubernetesCluster = \"${ var.name }\"\n Name = \"${ var.name }\"... | hcl | chosen |
[
{
"from": "system",
"value": "Update for Terraform AWS provider 3.0.0\n"
},
{
"from": "human",
"value": "# NOTE: Bucket name must have exact same name as the dns recored, like example.com or box.example.com\nresource \"aws_s3_bucket\" \"fogtesting\" {\n bucket = \"${var.project}.theworkmans.us\... | hcl | chosen |
[
{
"from": "system",
"value": "Add missing new line to satisfy linter's wishes\n"
},
{
"from": "human",
"value": "/**\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * Yo... | hcl | chosen |
[
{
"from": "human",
"value": "Backup storage bucket for external org\n"
},
{
"from": "gpt",
"value": "terraform {\n backend \"gcs\" {}\n}\n\nvariable \"cloudbuild_sa\" {}\nvariable \"backup_storage_bucket_name\" {}\nvariable \"project_id\" {}\nvariable \"infra_region\" {}\n\nprovider \"google\" ... | hcl | chosen |
[
{
"from": "system",
"value": "[testnet] Increase node count to 100"
},
{
"from": "human",
"value": "variable \"project_name\" {\n default = \"raiden_testnet\"\n}\n\nvariable \"keypair_name\" {\n description = \"AWS SSH key pair\"\n default = \"raiden-testnet\"\n}\n\nvariable \"cidr_bloc... | hcl | chosen |
[
{
"from": "human",
"value": "Move iam-user in to modules\n"
},
{
"from": "gpt",
"value": "variable \"pgp_key\" {}\nvariable \"username\" {}\nvariable \"path\" {\n default = \"/\"\n}\n\n\nresource \"aws_iam_user\" \"user\" {\n name = \"${var.username}\"\n path = \"${var.path}\"\n force_destro... | hcl | chosen |
[
{
"from": "system",
"value": "Change the comment of the backup-exporter SA\n"
},
{
"from": "human",
"value": "# GKE node service account used by nodes and service-account-assigner\nresource \"google_service_account\" \"gke_cluster_node\" {\n account_id = \"gke-cluster-node\"\n display_name =... | hcl | chosen |
[
{
"from": "system",
"value": "Use prod bucket names from makefile vars\n"
},
{
"from": "human",
"value": "module \"config-bucket\" {\n source = \"github.com/stakater/blueprint-storage-aws.git//modules/s3\"\n name = \"${var.stack_name}-prod-config\"\n}\n\nmodule \"cloudinit-bucket\" {\n source... | hcl | chosen |
[
{
"from": "system",
"value": "Use checkin@domain for SES receiver\n"
},
{
"from": "human",
"value": "resource \"aws_ses_domain_identity\" \"sw\" {\n domain = \"${var.domain}\"\n}\n\nresource \"aws_ses_receipt_rule_set\" \"sw_check_in\" {\n rule_set_name = \"sw-check-in\"\n}\n\nresource \"aws_s... | hcl | chosen |
[
{
"from": "system",
"value": "Add the IAM GetUser permission\n"
},
{
"from": "human",
"value": "data \"aws_iam_policy_document\" \"travis_permissions\" {\n statement {\n actions = [\n \"ecr:*\",\n ]\n\n resources = [\n \"*\",\n ]\n }\n\n statement {\n actions = [\n ... | hcl | chosen |
[
{
"from": "system",
"value": "Fix typo in ec2-cpu-credits alert message\n\nIt shouldn't read \"low on on CPU credits\" or \"out of on CPU credits\" :)\n"
},
{
"from": "human",
"value": "resource \"datadog_monitor\" \"ec2-cpu-credits\" {\n name = \"${format(\"%s EC2 CPU credits\", var.... | hcl | chosen |
[
{
"from": "system",
"value": "Fix null provider version constraint on Google Cloud\n\n* Part of https://github.com/poseidon/typhoon/pull/1074\n"
},
{
"from": "human",
"value": "# Terraform version and plugin versions\n\nterraform {\n required_version = \">= 0.13.0, < 2.0.0\"\n required_provide... | hcl | chosen |
[
{
"from": "system",
"value": "Switch AWS RDS instance to mariadb 10.1.19\n"
},
{
"from": "human",
"value": "resource \"aws_db_subnet_group\" \"rds_subnet_group\" {\n name = \"${var.environment}-rds_subnet_group\"\n subnet_ids = [\"${aws_subnet.PcfVpcRdsSubnet_az1.id}\", \"${aws_subnet.PcfV... | hcl | chosen |
[
{
"from": "system",
"value": "Update team manual link for Datadog alerts\n"
},
{
"from": "human",
"value": "variable \"job_instances\" {\n description = \"List of pairs <job_name>:<job_count> of expected bosh job instance count\"\n default = []\n}\n\nvariable \"support_email\" {\n descrip... | hcl | chosen |
[
{
"from": "system",
"value": "Create recordstore prior to using it in save command.\n"
},
{
"from": "human",
"value": "# heclfile.hcl - this lets us run a default file or select some other\n# file to run.\n\n# Fetch the stored file, if it exists. Otherwise, use 'hecl.hcl' on\n# the first root.\... | hcl | chosen |
[
{
"from": "system",
"value": "Add missing Lambda permission to allow scheduled event to fire\n"
},
{
"from": "human",
"value": "###################################################################################################\n\nresource \"aws_cloudwatch_event_rule\" \"trigger_retry\" {\n nam... | hcl | chosen |
[
{
"from": "system",
"value": "Disable API termination for delivered instances\n\nSigned-off-by: Tom Duffield <96835dd8bfa718bd6447ccc87af89ae1675daeca@chef.io>\n"
},
{
"from": "human",
"value": "module \"supermarket_omnibus_standalone_inplace_upgrade_server\" {\n source = \"git@github.com:chef/... | hcl | chosen |
[
{
"from": "system",
"value": "Document root terraform file and specify S3 backend\n"
},
{
"from": "human",
"value": "variable \"domain\" {}\nvariable \"region\" {}\nvariable \"aws_access_key\" {}\nvariable \"aws_secret_key\" {}\nvariable \"env_vars\" ... | hcl | chosen |
[
{
"from": "system",
"value": "Add provider_meta to htcondor-configure module\n"
},
{
"from": "human",
"value": "/**\n * Copyright 2022 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You... | hcl | chosen |
[
{
"from": "system",
"value": "Revert \"use env var for gcloud login\"\n\nThis reverts commit 30e3556f4dd3c392755af7ca6b1f570ebda34b90 [formerly 4a3c7760d893ab7eb8faf77ebdb367ecb91fc74c].\n\n\nFormer-commit-id: 91ded3a4baa33d4b7127e2ebe21819ffae5886f8"
},
{
"from": "human",
"value": "/**\n * Copy... | hcl | chosen |
[
{
"from": "system",
"value": "Enable TTL on dynamodb table - requires TF 0.9.5 or newer.\n"
},
{
"from": "human",
"value": "variable \"db_data\" {}\nvariable \"iam_role_name\" {}\nvariable \"lambda_function_clean_data\" {}\n\nprovider \"aws\" {\n region = \"ap-southeast-2\"\n}\n\nprovider \"a... | hcl | chosen |
[
{
"from": "system",
"value": "Use GA version of provider secrets\n"
},
{
"from": "human",
"value": "resource google_secret_manager_secret secret {\n provider = google-beta\n project = var.project\n\n secret_id = var.name\n replication {\n automatic = true\n }\n}\n\nresource google_secre... | hcl | chosen |
[
{
"from": "system",
"value": "Fix integration test for older Envoy versions\n"
},
{
"from": "human",
"value": "services {\n name = \"ingress-gateway\"\n kind = \"ingress-gateway\"\n\n proxy {\n config {\n envoy_extra_static_clusters_json = <<EOF\n{\n \"name\": \"sds-cluster\",\n \"c... | hcl | chosen |
[
{
"from": "system",
"value": "Update comment in IAM code\n"
},
{
"from": "human",
"value": "provider \"aws\" {\n region = \"us-east-1\"\n}\n\nresource \"aws_iam_user\" \"existing_user\" {\n # TODO: you should change this to the username of an IAM user that already\n # exists so you can practi... | hcl | chosen |
[
{
"from": "system",
"value": "Update AMI with latest Xenial (Ubuntu 16.04 LTS) released 2018-06-27.\n"
},
{
"from": "human",
"value": "provider \"aws\" {\n region = \"eu-west-1\"\n}\n\nresource \"aws_instance\" \"jenkins2\" {\n ami = \"ami-785db401\"\n instance_type ... | hcl | chosen |
[
{
"from": "system",
"value": "Add a VPC endpoint for S3 in the data_science stack\n"
},
{
"from": "human",
"value": "module \"network\" {\n source = \"git::https://github.com/wellcometrust/terraform.git//network?ref=v11.0.0\"\n name = \"${var.namespace}\"\n cidr_block = \"${var.vpc_... | hcl | chosen |
[
{
"from": "system",
"value": "Add resource 'firewall_puma' to open tcp port\n"
},
{
"from": "human",
"value": "provider \"google\" {\n project = \"infra-179717\"\n region = \"europe-west1\"\n}\n\nresource \"google_compute_instance\" \"app\" {\n name = \"reddit-app\"\n machine_type =... | hcl | chosen |
[
{
"from": "system",
"value": "Add Continuous Smoke Tests dashboard\n\nBlue bars = successful runs, Orange bars = failures.\n"
},
{
"from": "human",
"value": "resource \"datadog_timeboard\" \"concourse-jobs\" {\n\n title = \"${format(\"%s job runtime difference\", var.env) }\"\n description = \... | hcl | chosen |
[
{
"from": "system",
"value": "Switch the API to point at an up-to-date index\n"
},
{
"from": "human",
"value": "locals {\n production_api = \"remus\"\n pinned_remus_api = \"889fd8bd6c24f853d9b03053dbd8d1547758afc8\"\n pinned_remus_nginx = \"3dd8a423123e1d175dd44520fcf03435a5fc92c8... | hcl | chosen |
[
{
"from": "human",
"value": "Add azure file storage for the fallback update center\n"
},
{
"from": "gpt",
"value": "#\n# This terraform plan defines the resources necessary to host azure.updates.jenkins.io\n# updates-proxy.jenkins.io only contains htaccess files generated by https://github.com/j... | hcl | chosen |
[
{
"from": "system",
"value": "Allow all s3 object operations\n"
},
{
"from": "human",
"value": "resource \"aws_s3_bucket\" \"s3_bucket\" {\n bucket = \"${var.bucket_name}\"\n acl = \"private\"\n policy = <<EOF\n{\n \"Version\": \"2012-10-17\",\n \"Statement\": [{\n \"Effect\": \"Allow... | hcl | chosen |
[
{
"from": "system",
"value": "GPII-2865: Fix default deny network policy\n"
},
{
"from": "human",
"value": "resource \"kubernetes_network_policy\" \"deny-default\" {\n metadata {\n name = \"deny-default\"\n namespace = \"${kubernetes_namespace.gpii.metadata.0.name}\"\n }\n\n spec {... | hcl | chosen |
[
{
"from": "system",
"value": "Use correct terraform map output syntax\n"
},
{
"from": "human",
"value": "output \"vpc_id\" {\n value = \"${aws_vpc.test_vpc.id}\"\n}\noutput \"vpc_tags\" {\n value = \"${aws_vpc.test_vpc.tags}\"\n}\n"
},
{
"from": "gpt",
"value": "output \"vpc_id... | hcl | chosen |
[
{
"from": "system",
"value": "Add the module name to the reindex shard generator\n"
},
{
"from": "human",
"value": "module \"shard_generator_lambda\" {\n source = \"git::https://github.com/wellcometrust/terraform.git//lambda?ref=v10.2.2\"\n\n name = \"reindex_shard_generator_${var.vhs_tab... | hcl | chosen |
[
{
"from": "system",
"value": "Add terraform module dependency: lambda -> iam\n"
},
{
"from": "human",
"value": "provider \"aws\" {\n region = \"${var.region}\"\n}\n\ndata \"terraform_remote_state\" \"state\" {\n backend = \"s3\"\n config {\n bucket = \"${var.tf_state_bucket}\"\n loc... | hcl | chosen |
[
{
"from": "system",
"value": "Use [] around depends_on value.\n"
},
{
"from": "human",
"value": "resource \"aws_db_instance\" \"default\" {\n depends_on = \"aws_security_group.default\"\n identifier = \"${var.identifier}\"\n allocated_storage = \"${var.storage}\"\n engine = \"${var.engine}\"... | hcl | chosen |
[
{
"from": "system",
"value": "Add dependency for storage bucket object\n"
},
{
"from": "human",
"value": "/**\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may o... | hcl | chosen |
[
{
"from": "human",
"value": "Add a new bigger k8s cluster\n"
},
{
"from": "gpt",
"value": "# This cluster is a bigger and will replace pea cluster\n\nresource \"azurerm_resource_group\" \"bean\" {\n name = \"${var.prefix}bean\"\n location = \"${var.location}\"\n tags {\n env = \"${var.... | hcl | chosen |
[
{
"from": "system",
"value": "Add dependency in stage 01 for Syslog Firewall rule"
},
{
"from": "human",
"value": "/**\n * Copyright 2022 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * ... | hcl | chosen |
[
{
"from": "system",
"value": "Remove external ip for greenhouse\n\nRemove the Global IP address used to collect metrics from greenhouse.\nMetrics scraping was stopped with https://github.com/kubernetes/test-infra/pull/27606\n\nSigned-off-by: Arnaud Meukam <96190fcd0798f0afa72279990e31ddc33e4f2ea2@gmail.com>... | hcl | chosen |
[
{
"from": "system",
"value": "Use Elastic IP instead of auto assigned public IP\n"
},
{
"from": "human",
"value": "resource \"aws_eip\" \"monitoring_server_eip\" {\n vpc = true\n instance = \"${aws_instance.monitoring_server.id}\"\n}\n\nresource \"aws_security_group\" \"monitoring_security_gro... | hcl | chosen |
[
{
"from": "system",
"value": "Remove the Azure Container Service since we're using AKS in the CloudBees account\n"
},
{
"from": "human",
"value": "# This Terraform plan is responsible for the Code Valet control plane\n#\n# As described (loosely) in the README, the control plane is where the bits... | hcl | chosen |
[
{
"from": "system",
"value": "Increase retries in the sierra_reader\n"
},
{
"from": "human",
"value": "module \"windows_queue\" {\n source = \"git::https://github.com/wellcometrust/terraform.git//sqs?ref=v6.4.0\"\n queue_name = \"sierra_${var.resource_type}_windows\"\n aws_region = \"$... | hcl | chosen |
[
{
"from": "system",
"value": "Remove secondary range from simple example\n"
},
{
"from": "human",
"value": "/**\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may... | hcl | chosen |
[
{
"from": "system",
"value": "Remove dead `paths` variable in rules submodule\n"
},
{
"from": "human",
"value": "/**\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * Yo... | hcl | chosen |
[
{
"from": "system",
"value": "Remove release-id variable as it's not used anymore\n"
},
{
"from": "human",
"value": "variable \"aws_region\" {\n description = \"The AWS region to create things in.\"\n default = \"eu-west-1\"\n}\n\nvariable \"az_count\" {\n description = \"Number of AZs to... | hcl | chosen |
[
{
"from": "system",
"value": "Switch to latest v2 AWS provider.\n"
},
{
"from": "human",
"value": "# -*- coding: utf-8; mode: terraform; -*-\n\nprovider \"aws\" {\n # https://www.terraform.io/docs/providers/aws/index.html\n version = \"~> 1\"\n\n region = var.starterkit_region\n}\n"
},
{
... | hcl | chosen |
End of preview. Expand
in Data Studio
README.md exists but content is empty.
- Downloads last month
- 7