commit
stringlengths
40
40
old_file
stringlengths
4
264
new_file
stringlengths
4
264
old_contents
stringlengths
0
4.24k
new_contents
stringlengths
1
5.44k
subject
stringlengths
14
778
message
stringlengths
15
9.92k
lang
stringclasses
277 values
license
stringclasses
13 values
repos
stringlengths
5
127k
ddbc969d98aeb30924285bb98211e841e3e0970f
terraform/datadog/certificates.tf
terraform/datadog/certificates.tf
resource "datadog_monitor" "invalid_tls_cert" { name = "${format("%s Invalid TLS/SSL Certificate", var.env)}" type = "metric alert" message = "${format("{{hostname.name}} certificate {{#is_alert}}is invalid!{{/is_alert}}{{#is_warning}}expires in {{value}} days{{/is_warning}}\n\...
resource "datadog_monitor" "invalid_tls_cert" { name = "${format("%s Invalid TLS/SSL Certificate", var.env)}" type = "metric alert" message = "${format("{{hostname.name}} certificate {{#is_alert}}is invalid!{{/is_alert}}{{#is_warning}}expires in {{value}} days{{/is_warning}}\n\...
Add Datadog monitor for CDN certificate expiration
Add Datadog monitor for CDN certificate expiration We want to know when certificates for tenant's cusom domains are due to expire (or if they are invalid). This monitor makes use of the new `cdn.tls.certificates.validity` metric, and is based off the existing TLS monitor in the same file. We are only emitting the met...
HCL
mit
alphagov/paas-cf,alphagov/paas-cf,alphagov/paas-cf,alphagov/paas-cf,alphagov/paas-cf,alphagov/paas-cf,alphagov/paas-cf,alphagov/paas-cf
919f58c0f043102a84bcf729fb0a0c44a6cb7b8d
test/setup/main.tf
test/setup/main.tf
/** * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
/** * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
Delete test networks from 'setup'
Delete test networks from 'setup'
HCL
apache-2.0
terraform-google-modules/terraform-google-sql-db,terraform-google-modules/terraform-google-sql-db
b1b653800bef16e2e93dab9add39e29fb10dc5f0
terraform/stage/main.tf
terraform/stage/main.tf
// Configure the Google Cloud provider provider "google" { project = "${var.project}" region = "${var.region}" } // Ensure firewall rule for SSH access is present and configured module "firewall_ssh" { source = "../modules/vpc/firewall" name = "default-allow-ssh" description = "Allow SSH from anywhere" po...
// Configure the Google Cloud provider provider "google" { project = "${var.project}" region = "${var.region}" } /* Ensure firewall rule for SSH access to all instances is present and configured */ module "firewall_ssh" { source = "../modules/vpc/firewall" name = "default-allow-ssh" descripti...
Add default firewall rule for SSH in stage env
Add default firewall rule for SSH in stage env
HCL
mit
jugatsu/infra,jugatsu/infra
594580fe80e1d47513f9f21613737ca48310d502
examples/servicegroup_servicegroupmemeber_binding/resources.tf
examples/servicegroup_servicegroupmemeber_binding/resources.tf
resource "citrixadc_server" "tf_server" { name = "tf_server" domain = "example.com" querytype = "SRV" } resource "citrixadc_servicegroup" "tf_servicegroup" { servicegroupname = "tf_servicegroup" servicetype = "HTTP" autoscale = "DNS" } resource "citrixadc_servicegroup_servicegroupmember_binding...
resource "citrixadc_server" "tf_server" { name = "tf_server" domain = "example.com" querytype = "SRV" } resource "citrixadc_server" "tf_server2" { name = "tf_server2" ipaddress = "10.22.33.44" } resource "citrixadc_servicegroup" "tf_servicegroup" { servicegroupname = "tf_servicegroup" servicet...
Add extra binding for servicegroup_servicegroupmemeber_binding example
Add extra binding for servicegroup_servicegroupmemeber_binding example
HCL
apache-2.0
citrix/terraform-provider-netscaler,citrix/terraform-provider-netscaler
0ac04615a787328ec00aab95e6289bbd122373d1
packet/ssh-cloud.tf
packet/ssh-cloud.tf
#Gen SSH KeyPair resource "null_resource" "ssh_gen" { provisioner "local-exec" { command = <<EOF mkdir -p ${ var.data_dir }/.ssh ssh-keygen -t rsa -f ${ var.data_dir }/.ssh/id_rsa -N '' EOF } provisioner "local-exec" { when = "destroy" on_failure = "continue" command = <<EOF rm -rf ${ var.da...
#Gen SSH KeyPair resource "null_resource" "ssh_gen" { provisioner "local-exec" { command = <<EOF mkdir -p ${ var.data_dir }/.ssh ssh-keygen -t rsa -f ${ var.data_dir }/.ssh/id_rsa -N '' EOF } provisioner "local-exec" { when = "destroy" on_failure = "continue" command = <<EOF rm -rf ${ var.da...
Add Endpoint to Hosts File
Add Endpoint to Hosts File
HCL
apache-2.0
cncf/cross-cloud
48ac4e6f90d66c8381ca161ce52987b48bf02d72
examples/automatic-labelling-from-repository/variables.tf
examples/automatic-labelling-from-repository/variables.tf
/** * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
/** * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
Remove erroneous variable from example
Remove erroneous variable from example
HCL
apache-2.0
terraform-google-modules/terraform-google-event-function
2e4248a030dff45497a9dd5ab7cbc593648dba3e
infra/gcp/clusters/projects/kubernetes-public/aaa/12-iam.tf
infra/gcp/clusters/projects/kubernetes-public/aaa/12-iam.tf
/* Ensure google groups defined in 'members' have read-only access to all monitoring data and configurations. Detailed list of permissions: https://cloud.google.com/monitoring/access-control#roles */ resource "google_project_iam_binding" "readonlymonitoringbinding" { project = data.google_project.project.id role ...
Allow read-only access to monitoring and logging
Allow read-only access to monitoring and logging Allow operators of the different workloads running on `aaa` to have read-only access to Monitoring and Logging in the Google Cloud Console and the APIs. Detailed list of permissions : - Monitoring : https://cloud.google.com/monitoring/access-control#roles - Logging : h...
HCL
apache-2.0
kubernetes/k8s.io,kubernetes/k8s.io,thockin/k8s.io,kubernetes/k8s.io,thockin/k8s.io,kubernetes/k8s.io,thockin/k8s.io,thockin/k8s.io
a0ee61007503a5d604c05b6dd8033e5c299eea5e
terraform/queues.tf
terraform/queues.tf
module "es_ingest_queue" { source = "./sqs" queue_name = "es_ingest_queue" aws_region = "${var.aws_region}" account_id = "${data.aws_caller_identity.current.account_id}" topic_names = ["${module.es_ingest_topic.name}"] } module "id_minter_queue" { source = "./sqs" queue_name = "id_minter_qu...
module "es_ingest_queue" { source = "./sqs" queue_name = "es_ingest_queue" aws_region = "${var.aws_region}" account_id = "${data.aws_caller_identity.current.account_id}" topic_names = ["${module.es_ingest_topic.name}"] } module "id_minter_queue" { source = "./sqs" queue_name = "id_minter_qu...
Make the id_minter only receive messages only once so we don't get race conditions if it takes too long to process one
Make the id_minter only receive messages only once so we don't get race conditions if it takes too long to process one
HCL
mit
wellcometrust/platform-api,wellcometrust/platform-api,wellcometrust/platform-api,wellcometrust/platform-api
035cd3753a8d834cad63526e482313d4981abeb9
deployment/terraform/aws/outputs.tf
deployment/terraform/aws/outputs.tf
output "nodes" { value = local.nodes } output "ansible_inventory" { value = { all = { children = { validators = { hosts = { for host in local.nodes.validator.public_ips: host => null } } private_sentries = { ...
output "nodes" { value = local.nodes } output "ansible_inventory" { value = { all = { children = { genesis = { hosts = { for host in local.nodes.validator.public_ips: host => null } } validators = { ...
Add genesis group to terraform output
Add genesis group to terraform output
HCL
apache-2.0
zigbee-alliance/distributed-compliance-ledger,zigbee-alliance/distributed-compliance-ledger,zigbee-alliance/distributed-compliance-ledger,zigbee-alliance/distributed-compliance-ledger,zigbee-alliance/distributed-compliance-ledger,zigbee-alliance/distributed-compliance-ledger
2711a80799900e215478cfcd36e3f4620407cdd1
gcp/modules/istio/tracing.tf
gcp/modules/istio/tracing.tf
data "external" "istio_tracing" { program = [ "bash", "-c", "MATCH=$$(kubectl get -n istio-system --request-timeout 5s rule stackdriver-tracing-rule -o jsonpath='{.spec.match}'); [ \"$$MATCH\" != 'context.protocol == \"http\" || context.protocol == \"grpc\"' ] && MATCH=\"$$RANDOM\"; jq -n --arg match \"$$...
# This resource waits till GKE creates Istio rule for tracing resource "null_resource" "istio_tracing_wait" { triggers = { nonce = "${var.nonce}" } provisioner "local-exec" { command = <<EOF COUNT=1 MAX_RETRIES=60 SLEEP_SEC=5 READY=false while [ "$READY" != 'true' ] && [ "$...
Fix Istio rule wait - 2nd try
GPII-4085: Fix Istio rule wait - 2nd try
HCL
bsd-3-clause
mrtyler/gpii-infra,mrtyler/gpii-infra,mrtyler/gpii-infra,mrtyler/gpii-infra
978cd9c8dfb886f7199598bd2ba41cafcd0e38e2
terraform/modules/iam-users/users/main.tf
terraform/modules/iam-users/users/main.tf
resource "aws_iam_user" "daniele_occhipinti" { name = "danieleocchipinti" force_destroy = true } resource "aws_iam_user" "paula_valenca" { name = "paulavalenca" force_destroy = true } resource "aws_iam_user" "brett_kyle" { name = "brettkyle" force_destroy = true } resource "aws...
resource "aws_iam_user" "daniele_occhipinti" { name = "danieleocchipinti" force_destroy = true } resource "aws_iam_user" "paula_valenca" { name = "paulavalenca" force_destroy = true } resource "aws_iam_user" "brett_kyle" { name = "brettkyle" force_destroy = true } resource "aws...
Add Jamie Eunson IAM user
Add Jamie Eunson IAM user
HCL
mit
alphagov/digitalmarketplace-aws,alphagov/digitalmarketplace-aws,alphagov/digitalmarketplace-aws
c11c5603abb2f63ff09e178e1f1c2ab5c98c89b7
terraform/main.tf
terraform/main.tf
/* * Copyright 2017 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
/* * Copyright 2017 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
Update to latest Google provider as of July 2018.
Update to latest Google provider as of July 2018.
HCL
apache-2.0
GoogleCloudPlatform/autonetdeploy-multicloudvpn
4f02c6c575afdca861deb064d22ac966bda5b99f
gke/input.tf
gke/input.tf
variable "name" { default = "gkecluster" } variable "region" { default = "us-central1" } variable "zone" { default = "us-central1-a" } variable "cidr" { default = "10.0.0.0/16" } variable "image_type" { default = "ubuntu" } variable "node_count" { default = "1" } variable "node_version" { default = "1.9.3" } variable "...
variable "name" { default = "gkecluster" } variable "region" { default = "us-central1" } variable "zone" { default = "us-central1-a" } variable "cidr" { default = "10.0.0.0/16" } variable "image_type" { default = "ubuntu" } variable "node_count" { default = "1" } variable "node_version" { default = "1.9.3-gke.0" } vari...
Set vaild gke cluster versions
Set vaild gke cluster versions
HCL
apache-2.0
cncf/cross-cloud
601153271076880459534bb8485672ab74d3332f
terraform/accounts/development/s3_buckets.tf
terraform/accounts/development/s3_buckets.tf
resource "aws_s3_bucket" "dev_uploads_s3_bucket" { bucket = "digitalmarketplace-dev-uploads" acl = "private" policy = <<POLICY { "Version": "2012-10-17", "Statement": [ { "Principal": {"AWS": "arn:aws:iam::${var.aws_main_account_id}:root"}, "Action": [ "s3:ListBucket", "s3:...
data "aws_iam_policy_document" "dev_uploads_s3_bucket_policy_document" { statement { effect = "Allow" principals { identifiers = "arn:aws:iam::${var.aws_main_account_id}:root" type = "AWS" } actions = [ "s3:ListBucket", "s3:GetBucketLocation", ] resources = [ ...
Convert inline policy to iam_policy_document for dev uploads bucket
Convert inline policy to iam_policy_document for dev uploads bucket
HCL
mit
alphagov/digitalmarketplace-aws,alphagov/digitalmarketplace-aws,alphagov/digitalmarketplace-aws
8bcf567611aad6639197c7d221a2f4f2f336e92c
outputs.tf
outputs.tf
/** * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
/** * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
Remove instance_ssh_command output. Fix instance_project output.
Remove instance_ssh_command output. Fix instance_project output.
HCL
apache-2.0
terraform-google-modules/terraform-google-gsuite-export,terraform-google-modules/terraform-google-gsuite-export,terraform-google-modules/terraform-google-gsuite-export
d503352dbe5f130f258f194b75efdb0392dd0f35
data_api/terraform/queues.tf
data_api/terraform/queues.tf
module "snapshot_generator_queue" { source = "git::https://github.com/wellcometrust/terraform-modules.git//sqs?ref=v8.0.2" queue_name = "snapshot_generator_queue" aws_region = "${var.aws_region}" account_id = "${data.aws_caller_identity.current.account_id}" topic_names = ["${module.snapshot_scheduler....
module "snapshot_generator_queue" { source = "git::https://github.com/wellcometrust/terraform-modules.git//sqs?ref=v8.0.2" queue_name = "snapshot_generator_queue" aws_region = "${var.aws_region}" account_id = "${data.aws_caller_identity.current.account_id}" topic_names = ["${module.snapshot_scheduler....
Fix a terraform definition in the data_api
Fix a terraform definition in the data_api [skip ci]
HCL
mit
wellcometrust/platform-api,wellcometrust/platform-api,wellcometrust/platform-api,wellcometrust/platform-api
504dd0c7833f1ca80de1e3e9f471bc3d53f0f88f
terraform/cloudfoundry/network_acls_cell_in.tf
terraform/cloudfoundry/network_acls_cell_in.tf
resource "aws_network_acl_rule" "90_local_in" { network_acl_id = "${aws_network_acl.cell.id}" protocol = -1 rule_number = 90 rule_action = "allow" cidr_block = "${var.vpc_cidr}" egress = false } resource "aws_network_acl_rule" "100_internet_cell_in" { network_acl_id = "${aws_network_acl.cel...
resource "aws_network_acl_rule" "90_local_in" { network_acl_id = "${aws_network_acl.cell.id}" protocol = -1 rule_number = 90 rule_action = "allow" cidr_block = "${var.vpc_cidr}" egress = false } resource "aws_network_acl_rule" "100_internet_cell_in" { network_acl_id = "${aws_network_acl.cel...
Allow all inbound traffic from router to cell net
Allow all inbound traffic from router to cell net Router will use any ports from 1024 > 64K to open new connections to the apps running on cells.
HCL
mit
alphagov/paas-cf,alphagov/paas-cf,jimconner/paas-cf,alphagov/paas-cf,jimconner/paas-cf,jimconner/paas-cf,jimconner/paas-cf,alphagov/paas-cf,alphagov/paas-cf,jimconner/paas-cf,alphagov/paas-cf,alphagov/paas-cf,alphagov/paas-cf,jimconner/paas-cf,jimconner/paas-cf
f1f0d460be26601e566e688af15f092175f7db09
Terraform/production/rds.tf
Terraform/production/rds.tf
module "rds" { source = "../modules/database" identifier = "collaction-${var.environment}" instance_class = var.rds_instance_class allocated_storage = var.rds_allocated_storage backup_retention_period = 7 performance_insights_enabled = false multi_az ...
module "rds" { source = "../modules/database" identifier = "collaction-${var.environment}" instance_class = var.rds_instance_class allocated_storage = var.rds_allocated_storage backup_retention_period = 7 performance_insights_enabled = true multi_az ...
Enable perf insights for prod again
Enable perf insights for prod again
HCL
agpl-3.0
CollActionteam/CollAction,CollActionteam/CollAction,CollActionteam/CollAction,CollActionteam/CollAction,CollActionteam/CollAction
e7d6869fd42c60f13c135ae3f29d465aca3d4dde
terraform/cloudtrail/main.tf
terraform/cloudtrail/main.tf
resource "aws_cloudtrail" "foobar" { name = "tf-trail-foobar" s3_bucket_name = "${aws_s3_bucket.foo.id}" s3_key_prefix = "prefix" include_global_service_events = false } resource "aws_s3_bucket" "foo" { bucket = "tf-test-trail" force_destroy = ...
Add cloudtrail for usage audit and log
Add cloudtrail for usage audit and log
HCL
mit
kelledge/idkfa
c90fc12d4f639f28de499cd327cc4a008cd75eb0
stages/02a-nsxt/provider.tf
stages/02a-nsxt/provider.tf
/** * Copyright 2022 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
/** * Copyright 2022 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
Add required terraform version in nsxt stage
Add required terraform version in nsxt stage
HCL
apache-2.0
GoogleCloudPlatform/gcve-iac-foundations,GoogleCloudPlatform/gcve-iac-foundations,GoogleCloudPlatform/gcve-iac-foundations
8e2d1b673807a44d7ca38f3b270ba1860252826a
eucentral1-demo/vpc.tf
eucentral1-demo/vpc.tf
resource "terraform_state" "vpc" { backend = "http" config { address = "https://raw.githubusercontent.com/${var.github_username}/terraform-example-vpc/master/${replace(var.region, \"-\", \"\")}-${var.account}/terraform.tfstate" } } output "nat_public_ip" { value = "${terraform_state.vpc.output....
Add an output to make 'make sshna' work
Add an output to make 'make sshna' work
HCL
apache-2.0
bobtfish/terraform-example-mesos-cluster
0a6b82e48fdce3b2c314394c16cfa581748b96e4
gce/gce.tf
gce/gce.tf
# Configure the Microsoft Azure Provider provider "google" { #credentials = "${file("gce.json")}" project = "${ var.project }" region = "${ var.region }" } provider "dnsimple" { }
# Configure the Microsoft Azure Provider provider "google" { #credentials = "${file("gce.json")}" project = "${ var.project }" region = "${ var.region }" } terraform { backend "s3" { bucket = "aws" key = "aws" region = "ap-southeast-2" } }
Add S3 Backend for State
Add S3 Backend for State
HCL
apache-2.0
cncf/cross-cloud
f29a19ffec5fd46255ce28241a2221d7f752dbd7
terraform/modules/iam-users/users/main.tf
terraform/modules/iam-users/users/main.tf
resource "aws_iam_user" "ben_vandersteen" { name = "benvandersteen" force_destroy = true } resource "aws_iam_user" "argyris_galamatis" { name = "argyrisgalamatis" force_destroy = true } resource "aws_iam_user" "kat_stevens" { name = "katstevens" force_destroy = true } resource ...
resource "aws_iam_user" "ben_vandersteen" { name = "benvandersteen" force_destroy = true } resource "aws_iam_user" "argyris_galamatis" { name = "argyrisgalamatis" force_destroy = true } resource "aws_iam_user" "kat_stevens" { name = "katstevens" force_destroy = true } resource ...
Remove Jonathan from IAM users
Remove Jonathan from IAM users
HCL
mit
alphagov/digitalmarketplace-aws,alphagov/digitalmarketplace-aws,alphagov/digitalmarketplace-aws
5eca44eabdfe4e414aaff791387e775eee831a58
terraform/versions.tf
terraform/versions.tf
terraform { required_providers { aws = { source = "hashicorp/aws" version = "~>4.25.0" } random = { source = "hashicorp/random" version = "~>3.4.2" } pingdom = { source = "russellcardullo/pingdom" version = "1.1.2" } } required_version = ">= 1.3.3" }
terraform { required_providers { aws = { source = "hashicorp/aws" version = "~>4.36.1" } random = { source = "hashicorp/random" version = "~>3.4.2" } pingdom = { source = "russellcardullo/pingdom" version = "1.1.2" } } required_version = ">= 1.3.3" }
Upgrade aws provider to 4.36.1
Upgrade aws provider to 4.36.1
HCL
mit
alphagov/paas-cf,alphagov/paas-cf,alphagov/paas-cf,alphagov/paas-cf,alphagov/paas-cf,alphagov/paas-cf,alphagov/paas-cf,alphagov/paas-cf
40ee11adc0a9c1caa421b5dcded2d85405e89c3a
terraform/nat-server.tf
terraform/nat-server.tf
/* NAT/VPN server */ resource "aws_instance" "nat" { ami = "ami-5c82fd2f" instance_type = "t2.nano" subnet_id = "${aws_subnet.public.id}" vpc_security_group_ids = ["${aws_security_group.default.id}", "${aws_security_group.nat.id}"] key_name = "${aws_key_pair.aws-blog-deployer.key_name}" source_dest_check = ...
/* NAT/VPN server */ resource "aws_instance" "nat" { ami = "ami-d51b3ba6" instance_type = "t2.nano" subnet_id = "${aws_subnet.public-aws-blog.id}" vpc_security_group_ids = ["${aws_security_group.default.id}", "${aws_security_group.nat.id}"] key_name = "${aws_key_pair.aws-blog-deployer.key_name}" source_dest...
Update to latest NAT instance, remove provisioning as this is provided by AWS and correct subnet name
Update to latest NAT instance, remove provisioning as this is provided by AWS and correct subnet name
HCL
mit
proffalken/aws-blog-framework,proffalken/aws-blog-framework,proffalken/aws-blog-framework
d68429c0a8c1f79e9dbc53bb0224156332291257
clusters/k8s-infra-dev-cluster-turnup/00-inputs.tf
clusters/k8s-infra-dev-cluster-turnup/00-inputs.tf
/* This file defines: - Required Terraform version - Required provider versions - Storage backend details - GCP project configuration */ terraform { required_version = ">= 0.12.6" backend "remote" { hostname = "app.terraform.io" organization = "k8s-infra" workspaces { // should match the na...
/* This file defines: - Required Terraform version - Required provider versions - Storage backend details - GCP project configuration */ terraform { required_version = ">= 0.12.8" backend "gcs" { bucket = "k8s-infra-dev-cluster-turnup-terraform-state" prefix = "k8s-services-cluster" } required_provid...
Change terraform to use GCS
Change terraform to use GCS
HCL
apache-2.0
thockin/k8s.io,kubernetes/k8s.io,thockin/k8s.io,kubernetes/k8s.io,thockin/k8s.io,thockin/k8s.io,kubernetes/k8s.io,kubernetes/k8s.io
3f015fb4fffb3da8d47301c9824613c25832aeae
prow/oss/terraform/modules/alerts/probers.tf
prow/oss/terraform/modules/alerts/probers.tf
# Copyright 2021 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
# Copyright 2021 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
Add optional fields to avoid noise from terraform plan
Add optional fields to avoid noise from terraform plan These two fields are the ones that cause terraform complaining something is changed when there is no config change at all
HCL
apache-2.0
GoogleCloudPlatform/oss-test-infra,GoogleCloudPlatform/oss-test-infra
4bc806655d6a18a140a2369c03558d6dac5bc1b5
terraform/main.tf
terraform/main.tf
/* * Copyright 2017 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
/* * Copyright 2017 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
Update for latest provider versions in July 2018.
Update for latest provider versions in July 2018.
HCL
apache-2.0
GoogleCloudPlatform/autonetdeploy-multicloudvpn
9834b82eab9c4719d88450ac01336d7cf0751fe6
terraform/modules/application-logs/variables.tf
terraform/modules/application-logs/variables.tf
variable "environment" {} variable "retention_in_days" {} variable "app_names" { type = "list" default = ["buyer-frontend", "supplier-frontend", "admin-frontend", "api", "search-api"] }
variable "environment" {} variable "retention_in_days" {} variable "app_names" { type = "list" default = ["buyer-frontend", "briefs-frontend", "supplier-frontend", "admin-frontend", "api", "search-api"] }
Add briefs frontend to application logs module
Add briefs frontend to application logs module The new briefs frontend needs application logs setting up, the same way we do for the other apps.
HCL
mit
alphagov/digitalmarketplace-aws,alphagov/digitalmarketplace-aws,alphagov/digitalmarketplace-aws
817cd30f414de5bd8a81d71c64302d75c60968c1
eucentral1-demo/mesos.tf
eucentral1-demo/mesos.tf
module "mesos" { source = "github.com/bobtfish/tf_aws_mesos" adminlbs = "1" lbs = "2" masters = "3" slaves = "5" region = "${var.region}" admin_key_name = "${aws_key_pair.admin.key_name}"...
module "mesos" { source = "github.com/bobtfish/tf_aws_mesos" adminlbs = "1" lbs = "2" masters = "3" slaves = "5" region = "${var.region}" admin_iprange = "${var.admin_iprange}" admin_...
Add admin ip range here
Add admin ip range here
HCL
apache-2.0
bobtfish/terraform-example-mesos-cluster
4eabd764901509db270f1ad3b2a7bcd99dc18ebe
terraform/modules/logging/alarms/missing-logs/alarms.tf
terraform/modules/logging/alarms/missing-logs/alarms.tf
// It's worth noting here that this alarm can never be triggered by the statistic comparison. // AWS doesn't record a metric if the value is 0 // The alarm will be triggered when the metric is not emitted due to the breaching poicy on missing data resource "aws_cloudwatch_metric_alarm" "missing_logs_alarm" { count ...
// It's worth noting here that this alarm can never be triggered by the statistic comparison. // AWS doesn't record a metric if the value is 0 // The alarm will be triggered when the metric is not emitted due to the breaching poicy on missing data resource "aws_cloudwatch_metric_alarm" "missing_logs_alarm" { count ...
Change alarm on missing logs from 5 x 60s to 1 x 300s to keep with rest of alert periods
Change alarm on missing logs from 5 x 60s to 1 x 300s to keep with rest of alert periods - PR #540 introduced the 5 evaluation periods to solve an issue where alarm did not raise for 30 minutes when search api app was down. This change should not drastically impact the existing behaviour. - TODO: revisit if this c...
HCL
mit
alphagov/digitalmarketplace-aws,alphagov/digitalmarketplace-aws,alphagov/digitalmarketplace-aws
fcfaffaf1111a78c5bd78867dd91be533a39020d
terraform/modules/logging/alarms/missing-logs/alarms.tf
terraform/modules/logging/alarms/missing-logs/alarms.tf
// It's worth noting here that this alarm can never be triggered by the statistic comparison. // AWS doesn't record a metric if the value is 0 // The alarm will be triggered when the metric is not emitted due to the breaching poicy on missing data resource "aws_cloudwatch_metric_alarm" "missing_logs_alarm" { count ...
// It's worth noting here that this alarm can never be triggered by the statistic comparison. // AWS doesn't record a metric if the value is 0 // The alarm will be triggered when the metric is not emitted due to the breaching poicy on missing data resource "aws_cloudwatch_metric_alarm" "missing_logs_alarm" { count ...
Move missing logs to 5 minutes to cause to trigger at 12ish mins
Move missing logs to 5 minutes to cause to trigger at 12ish mins
HCL
mit
alphagov/digitalmarketplace-aws,alphagov/digitalmarketplace-aws,alphagov/digitalmarketplace-aws
126414daeb1422987c56b5cf2ef1154baed5f4bb
infra/gcp/terraform/k8s-infra-oci-proxy-prod/monitoring.tf
infra/gcp/terraform/k8s-infra-oci-proxy-prod/monitoring.tf
/* Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, ...
/* Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, ...
Fix missing changes for the alerts
Fix missing changes for the alerts Switch to a variable for the domain to monitor. Signed-off-by: Arnaud Meukam <96190fcd0798f0afa72279990e31ddc33e4f2ea2@gmail.com>
HCL
apache-2.0
kubernetes/k8s.io,kubernetes/k8s.io,kubernetes/k8s.io,kubernetes/k8s.io
5627f0378cdc44d3e5062b57a441f482e69c489c
archive/terraform/internal_rest_service/main.tf
archive/terraform/internal_rest_service/main.tf
module "service" { source = "git::https://github.com/wellcometrust/terraform.git//ecs/modules/service/prebuilt/load_balanced?ref=allow-tcp-target-groups" service_name = "${var.service_name}" task_desired_count = "1" task_definition_arn = "${module.task.task_definition_arn}" security_group_ids = ["${v...
module "service" { source = "git::https://github.com/wellcometrust/terraform.git//ecs/modules/service/prebuilt/load_balanced?ref=v11.10.0" service_name = "${var.service_name}" task_desired_count = "1" task_definition_arn = "${module.task.task_definition_arn}" security_group_ids = ["${var.security_gro...
Use newly released terraform modules
Use newly released terraform modules
HCL
mit
wellcometrust/platform-api,wellcometrust/platform-api,wellcometrust/platform-api,wellcometrust/platform-api
be82d592bdcc5009385cec804cc24b24c77d2158
templates/src/terraform/aws/modules/emr/variables.tf
templates/src/terraform/aws/modules/emr/variables.tf
## ## Input Variables ## variable "aws_access_key" {} variable "aws_secret_key" {} variable "aws_vpc_id" {} variable "aws_subnet_id" {} variable "aws_ssh_public_key" { default = "aws_s3_bucket_object.user_token" } variable "aws_region" { default = "us-east-1" } variable "aws_emr_version" { default = "emr-5.21.0"...
## ## Input Variables ## variable "aws_access_key" {} variable "aws_secret_key" {} variable "aws_vpc_id" {} variable "aws_subnet_id" {} variable "aws_ssh_public_key" { default = "" } variable "aws_region" { default = "us-east-1" } variable "aws_emr_version" { default = "emr-5.21.0" } variable "aws_core_instance_...
Fix wrong default template arg value
[SW-1164] Fix wrong default template arg value
HCL
apache-2.0
h2oai/sparkling-water,h2oai/sparkling-water,h2oai/sparkling-water,h2oai/sparkling-water
bd0b63caf74c3aa2889538112be86c08ee95de9f
test/fixtures/bastion/outputs.tf
test/fixtures/bastion/outputs.tf
/** * Copyright 2018 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
/** * Copyright 2018 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
Fix typo in bastion host value
Fix typo in bastion host value
HCL
apache-2.0
forseti-security/terraform-google-forseti,forseti-security/terraform-google-forseti,forseti-security/terraform-google-forseti
38d99c471827c72602bc3d37506dddd8d22a4dbb
plans/control-plane.tf
plans/control-plane.tf
# This Terraform plan is responsible for the Code Valet control plane # # As described (loosely) in the README, the control plane is where the bits # which are actually servicing codevalet.io would be running. THese would be # considered "trusted" resources and not those running user-generated code. resource "azurerm_...
# This Terraform plan is responsible for the Code Valet control plane # # As described (loosely) in the README, the control plane is where the bits # which are actually servicing codevalet.io would be running. THese would be # considered "trusted" resources and not those running user-generated code. resource "azurerm_...
Add an Azure Container Registry to the infra plane
Add an Azure Container Registry to the infra plane This is not yet being utilized by AKS, but should be
HCL
agpl-3.0
CodeValet/codevalet,CodeValet/codevalet,CodeValet/codevalet
1fef510613d5ca76233f209a73c72be606b6f200
modules/fabric-net-svpc-access/outputs.tf
modules/fabric-net-svpc-access/outputs.tf
/** * Copyright 2018 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
/** * Copyright 2018 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
Replace count reference in service_projects output
Replace count reference in service_projects output
HCL
apache-2.0
terraform-google-modules/terraform-google-network,terraform-google-modules/terraform-google-network
2e975523c64e67dcc184562d4a4d395246a208e3
test/fixture-aws-provider-patch/example-module/main.tf
test/fixture-aws-provider-patch/example-module/main.tf
# We intentionally have an AWS provider block nested within this module so that we can have an integration test that # checks if the aws-provider-patch command helps to work around https://github.com/hashicorp/terraform/issues/13018. provider "aws" { region = var.secondary_aws_region alias = "secondary" } variabl...
Check in module for testing
Check in module for testing
HCL
mit
gruntwork-io/terragrunt,gruntwork-io/terragrunt
5445d6c1bddb790faec5b907692cff58c96057e0
resources/vault/artifacts/upload-templates/vault.hcl
resources/vault/artifacts/upload-templates/vault.hcl
backend "s3" { bucket = "${AWS_ACCOUNT}-${CLUSTER_NAME}-vault-s3-backend" region = "${AWS_DEFAULT_REGION}" } /* If use etcd backend backend "etcd" { address = "http://127.0.0.1:2379" advertise_addr = "https://$COREOS_PUBLIC_IPV4:8200" path = "vault" sync = "yes" ha_enabled = "true" } */ # Vault runs in...
storage "s3" { bucket = "${AWS_ACCOUNT}-${CLUSTER_NAME}-vault-s3-backend" region = "${AWS_DEFAULT_REGION}" } /* If use etcd backend ha_storage "etcd" { address = "http://127.0.0.1:2379" advertise_addr = "https://$COREOS_PUBLIC_IPV4:8200" path = "vault" sync = "yes" ha_enabled = "true" } */ # Vault runs...
Update use new hcl for storage backend syntax.
Update use new hcl for storage backend syntax.
HCL
mit
xuwang/kube-aws-terraform
dbec419865ded99cf2db2d5a9793dcbe24aee868
modules/slo-native/outputs.tf
modules/slo-native/outputs.tf
/** * Copyright 2020 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
/** * Copyright 2020 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
Add name output to slo-native
Add name output to slo-native
HCL
apache-2.0
terraform-google-modules/terraform-google-slo
ee9314275999d26867c645ccef32b12920688884
test/fixtures/shared/variables.tf
test/fixtures/shared/variables.tf
/** * Copyright 2018 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
/** * Copyright 2018 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
Set a default region for tests
Set a default region for tests
HCL
apache-2.0
terraform-google-modules/terraform-google-cloud-nat,terraform-google-modules/terraform-google-cloud-nat
7fef1db20df412a5fe648f8a9b4f9cf0f345176e
configs/testdata/valid-files/variables.tf
configs/testdata/valid-files/variables.tf
variable "foo" { } variable "bar" { default = "hello" } variable "baz" { type = list } variable "bar-baz" { default = [] type = list(string) } variable "cheeze_pizza" { description = "Nothing special" } variable "π" { default = 3.14159265359 }
variable "foo" { } variable "bar" { default = "hello" } variable "baz" { type = list } variable "bar-baz" { default = [] type = list(string) } variable "cheeze_pizza" { description = "Nothing special" } variable "π" { default = 3.14159265359 } variable "sensitive-value" { sensitive = true }
Add sensitive variable configs test coverage
Add sensitive variable configs test coverage
HCL
mpl-2.0
apparentlymart/terraform,ewbankkit/terraform,hashicorp/terraform,rnaveiras/terraform,tommynsong/terraform,apparentlymart/terraform,ewbankkit/terraform,pdecat/terraform,ewbankkit/terraform,apparentlymart/terraform,pdecat/terraform,pdecat/terraform,rnaveiras/terraform,tommynsong/terraform,pdecat/terraform,hashicorp/terra...
5676dabaa509fa20c81dee848a5ef5f7564069bb
test/fixtures/simple_instance/outputs.tf
test/fixtures/simple_instance/outputs.tf
/** * Copyright 2018 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
/** * Copyright 2018 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
Return full konlet configuration from simple example
Return full konlet configuration from simple example
HCL
apache-2.0
terraform-google-modules/terraform-google-container-vm
478006b6c2c6e96f75be0d28aa8d70a0bf317fca
ci/brats/aws_postgres.tf
ci/brats/aws_postgres.tf
variable "rds_postgres_username" {} variable "rds_postgres_password" {} variable "rds_postgres_databasename" {} resource "aws_db_instance" "postgres" { allocated_storage = 10 storage_type = "gp2" engine = "postgres" engine_version = "9.6.8" instance_class = "db.t2.micro" ...
variable "rds_postgres_username" {} variable "rds_postgres_password" {} variable "rds_postgres_databasename" {} resource "aws_db_instance" "postgres" { allocated_storage = 10 storage_type = "gp2" engine = "postgres" engine_version = "9.6.8" instance_class = "db.t2.micro" ...
Make AWS postgres publicly accessible
Make AWS postgres publicly accessible [#158168890](https://www.pivotaltracker.com/story/show/158168890) Signed-off-by: Michael Xu <9a9f0f9e4cafa7274ac4427113dff9772742c003@pivotal.io>
HCL
apache-2.0
barthy1/bosh,barthy1/bosh,barthy1/bosh,barthy1/bosh
1a8215dbbd1c894f82d5937a05526d6fb01790e4
examples/simple_project/main.tf
examples/simple_project/main.tf
/** * Copyright 2018 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
/** * Copyright 2018 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
Remove secondary range from simple example
Remove secondary range from simple example
HCL
apache-2.0
terraform-google-modules/terraform-google-network,terraform-google-modules/terraform-google-network
14616f42dfdaf1aa78f966ecae717b653a34ce41
test/fixtures/shared_vpc/variables.tf
test/fixtures/shared_vpc/variables.tf
/** * Copyright 2018 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
/** * Copyright 2018 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
Make subnetwork a required variable
Make subnetwork a required variable
HCL
apache-2.0
forseti-security/terraform-google-forseti,forseti-security/terraform-google-forseti,forseti-security/terraform-google-forseti
9c10fd520703cb5cd2568e5cd0f9e11df1578eae
tf/ar.tf
tf/ar.tf
/** * Copyright Google LLC 2021 * Google Confidential, Pre-GA Offering for Google Cloud Platform * (see https://cloud.google.com/terms/service-terms) */ resource "google_artifact_registry_repository" "artifact-registry" { provider = google-beta location = var.region repository_id = "web-app" descrip...
/** * Copyright Google LLC 2021 * Google Confidential, Pre-GA Offering for Google Cloud Platform * (see https://cloud.google.com/terms/service-terms) */ resource "google_artifact_registry_repository" "artifact-registry" { provider = google-beta location = var.region repository_id = "web-app" descrip...
Add additional registry for Skaffold profiles tutorial
Add additional registry for Skaffold profiles tutorial Change-Id: I4ec01c8399bd94aae37b30bf22708658be0e93d4
HCL
apache-2.0
GoogleCloudPlatform/cloud-deploy-tutorials,GoogleCloudPlatform/cloud-deploy-tutorials,GoogleCloudPlatform/cloud-deploy-tutorials
e6769ad976c358d0329e9d510861bfd1dc381352
terraform/lambda/role.tf
terraform/lambda/role.tf
resource "aws_iam_role" "iam_role" { name = "lambda_${var.name}_iam_role" assume_role_policy = "${data.aws_iam_policy_document.assume_lambda_role.json}" } data "aws_iam_policy_document" "assume_lambda_role" { statement { actions = [ "sts:AssumeRole", ] principals { type ...
resource "aws_iam_role" "iam_role" { name = "lambda_${var.name}_iam_role" assume_role_policy = "${data.aws_iam_policy_document.assume_lambda_role.json}" } data "aws_iam_policy_document" "assume_lambda_role" { statement { actions = [ "sts:AssumeRole", ] principals { type ...
Fix permissions for Lambdas to log to CloudWatch
Fix permissions for Lambdas to log to CloudWatch The new Lambda is unable to log anything to CloudWatch because it can't create new log streams. I'm still not sure how the existing Lambdas were able to create logs without this permission. Whatever it was, this allows the new Lambda to log and preserves the ability o...
HCL
mit
wellcometrust/platform-api,wellcometrust/platform-api,wellcometrust/platform-api,wellcometrust/platform-api
09bd9e9c88760b888ac9eb21912ab68995dfa886
test/config.tf
test/config.tf
provider "aws" { region = "eu-central-1" } variable "name_prefix" { default = "tf-consul-module-test-" } module "vpc" { source = "github.com/gbergere/tf-vpc-test-module" name_prefix = "${var.name_prefix}" } module "consul" { source = "../" name_prefix = "${var.name_prefix}" vpc_id = "${module.vpc...
variable "name_prefix" { default = "tf-consul-module-test-" } module "vpc" { source = "github.com/gbergere/tf-vpc-test-module" name_prefix = "${var.name_prefix}" } module "consul" { source = "../" name_prefix = "${var.name_prefix}" vpc_id = "${module.vpc.vpc_id}" subnet_id = "${module.vpc.subnet_i...
Use aws_region from env AWS_DEFAULT_REGION for tests
Use aws_region from env AWS_DEFAULT_REGION for tests
HCL
mit
gbergere/tf-consul-module
71b37651eeeeffe092b7f35a60ab6c564846dfea
plans/remote-state.tf
plans/remote-state.tf
# # This terraform plan defines the resources necessary to host the Terraform # remote state in Azure Blob Storage as described here: # <https://www.terraform.io/docs/state/remote/azure.html> resource "azurerm_resource_group" "tfstate" { name = "${var.prefix}jenkinsinfra-tfstate" location = "East US 2" } ...
# # This terraform plan defines the resources necessary to host the Terraform # remote state in Azure Blob Storage as described here: # <https://www.terraform.io/docs/state/remote/azure.html> resource "azurerm_resource_group" "tfstate" { name = "${var.prefix}tfstate" location = "East US 2" } resource "azu...
Reduce the length of the storage account name for tfstate
Reduce the length of the storage account name for tfstate storage accounts are my white whale
HCL
mit
olblak/azure,olblak/azure,olblak/azure,jenkins-infra/azure
58ad786e53b86887b4575e1cdb648d4b5c9acb3a
terraform/modules/s3-sftp-bridge_lambda/lambda.tf
terraform/modules/s3-sftp-bridge_lambda/lambda.tf
################################################################################################### resource "aws_lambda_function" "s3_sftp_bridge_lambda" { filename = "${var.lambda_function_package_path}" function_name = "${var.function_prefix}-${var.integration_name}" description = "${var.lambd...
################################################################################################### resource "aws_lambda_function" "s3_sftp_bridge_lambda" { filename = "${var.lambda_function_package_path}" function_name = "${var.function_prefix}-${var.integration_name}" description = "${var.lambd...
Add SQS DLQ QUEUE_NAME env var to Lambda function
Add SQS DLQ QUEUE_NAME env var to Lambda function
HCL
mit
tomelliff/py-s3-sftp-bridge
27cfb99bd5b754955ed9c9ef2a9e1176a5f84aed
vault/policies/provisioner.hcl
vault/policies/provisioner.hcl
# path "auth/token/lookup-self" { policy = "read" } # Handle token provisioning path "auth/token/create" { policy = "write" } path "auth/token/revoke/" { policy = "write" } # Handle Endpoint server provisioning path "secret/endpoint/*" { policy = "write" } path "secret/proofreader/*" { policy = ...
# path "auth/token/lookup-self" { policy = "read" } # Handle token provisioning path "auth/token/create" { policy = "write" } path "auth/token/revoke/" { policy = "write" } # Handle Endpoint server provisioning path "secret/endpoint/*" { policy = "write" } path "secret/proofreader/*" { policy = ...
Update Vault policies to allow storing new data
Update Vault policies to allow storing new data
HCL
apache-2.0
jhuapl-boss/boss-manage,jhuapl-boss/boss-manage
d5a791481f5f3f78de16765a6dae0f9196e17274
ci/terraform/e2e/secondary_cpi/secondary_cpi.tf
ci/terraform/e2e/secondary_cpi/secondary_cpi.tf
provider "openstack" { auth_url = "${var.auth_url}" user_name = "${var.user_name}" password = "${var.password}" tenant_name = "${var.project_name}" domain_name = "${var.domain_name}" insecure = "${var.insecure}" } variable "auth_url" { description = "Authentication endpoint URL for OpenStack p...
Add terraform script to create secondary OpenStack project
Add terraform script to create secondary OpenStack project This will be used by the multi-cpi e2e test [#134693605](https://www.pivotaltracker.com/story/show/134693605) Signed-off-by: Tom Kiemes <2e6bc7bf64c2cabd57fd2be0c1baf57f97b6fecc@sap.com>
HCL
apache-2.0
cloudfoundry-incubator/bosh-openstack-cpi-release,cloudfoundry-incubator/bosh-openstack-cpi-release,cloudfoundry-incubator/bosh-openstack-cpi-release
865bd9f6a7812b99c5023f237f5b368d38851bb4
common/modules/gcp-dns/main.tf
common/modules/gcp-dns/main.tf
# This code will create zones at GCP # # * gcp.$organization_domain # # The zone gcp will be delegated to Google DNS. terraform { # The configuration for this backend will be filled in by Terragrunt backend "gcs" {} } variable "project_id" {} variable "serviceaccount_key" {} variable "infra_region" {} variable...
# This code will create zones at GCP # # * gcp.$organization_domain # # The zone gcp will be delegated to Google DNS. terraform { # The configuration for this backend will be filled in by Terragrunt backend "gcs" {} } variable "project_id" {} variable "serviceaccount_key" {} variable "infra_region" {} variable...
Add note about AWS provider
Add note about AWS provider
HCL
bsd-3-clause
mrtyler/gpii-infra,mrtyler/gpii-infra,mrtyler/gpii-terraform,mrtyler/gpii-terraform,mrtyler/gpii-infra,mrtyler/gpii-infra,mrtyler/gpii-terraform
ffb5e7bc0e7098c598539390de16baf51bbf6f6b
nubis/terraform/dns/outputs.tf
nubis/terraform/dns/outputs.tf
output "application_zone_id" { value = "${aws_route53_zone.master_zone.zone_id}" } output "route53_delegation_set" { value = "${var.route53_delegation_set}" } output "nameservers" { value = "${join(",",aws_route53_zone.master_zone.name_servers)}" }
output "application_zone_id" { value = "${aws_route53_zone.master_zone.zone_id}" } output "application_route53_delegation_set" { value = "${var.route53_delegation_set}" } output "application_nameservers" { value = "${join(",",aws_route53_zone.master_zone.name_servers)}" }
Rename remaining output as well
Rename remaining output as well
HCL
mpl-2.0
mozilla-it/haul,gozer/haul,gozer/haul,mozilla-it/haul,mozilla-it/haul,gozer/haul
d13218e98814d7ac3bc65fc862c0119123f44d68
feedpaper-data/infrastructure.tf
feedpaper-data/infrastructure.tf
variable "db_data_conf" {} variable "db_data_feeds" {} variable "db_data_articles" {} provider "aws" { region = "ap-southeast-2" } provider "aws" { alias = "us" region = "us-west-2" } resource "aws_dynamodb_table" "data_conf" { provider = "aws.us" name = "${var.db_data_conf}" read_capacity = ...
variable "db_data" {} provider "aws" { region = "ap-southeast-2" } provider "aws" { alias = "us" region = "us-west-2" } resource "aws_dynamodb_table" "data" { provider = "aws.us" name = "${var.db_data}" read_capacity = 1 write_capacity = 1 hash_key = "id" attribute { name = ...
Use one dynamodb table to reduce cost.
Use one dynamodb table to reduce cost.
HCL
mit
cliffano/feedpaper,cliffano/feedpaper,cliffano/feedpaper
633f018588605905c109b17d3798a5c5d58e80b9
2_gitlab/gitlab.tf
2_gitlab/gitlab.tf
/** * Copyright 2020 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
/** * Copyright 2020 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
Use latest GitLab module version
Use latest GitLab module version
HCL
apache-2.0
GoogleCloudPlatform/solutions-modern-cicd-anthos,GoogleCloudPlatform/solutions-modern-cicd-anthos,GoogleCloudPlatform/solutions-modern-cicd-anthos
b3eb705f4469b57cd69bf5fc2ea2281a23b7120b
gcp/modules/gcp-secret-mgmt/main.tf
gcp/modules/gcp-secret-mgmt/main.tf
terraform { backend "gcs" {} } variable "project_id" {} variable "serviceaccount_key" {} variable "keyring_name" {} variable "encryption_keys" { type = "list" } variable "storage_location" { default = "us-central1" } module "gcp-secret-mgmt" { source = "/exekube-modules/gcp-secret-mgmt" project_id ...
terraform { backend "gcs" {} } provider "google" { project = "${var.project_id}" credentials = "${var.serviceaccount_key}" } variable "project_id" {} variable "serviceaccount_key" {} variable "keyring_name" {} variable "encryption_keys" { type = "list" } variable "storage_location" { default = "us-cen...
Add tfstate_encrypted bucket into modules/gcp-secret-mgmt
Add tfstate_encrypted bucket into modules/gcp-secret-mgmt
HCL
bsd-3-clause
mrtyler/gpii-infra,mrtyler/gpii-terraform,mrtyler/gpii-infra,mrtyler/gpii-infra,mrtyler/gpii-terraform,mrtyler/gpii-infra,mrtyler/gpii-terraform
fdf75d367013801180869f29acae97db84d0a386
spec/infra/prerequisites/main.tf
spec/infra/prerequisites/main.tf
module "base_network" { source = "infrablocks/base-networking/aws" version = "3.0.0" vpc_cidr = var.vpc_cidr region = var.region availability_zones = var.availability_zones component = var.component deployment_identifier = var.deployment_identifier private_zone_id =...
module "base_network" { source = "infrablocks/base-networking/aws" version = "4.0.0" vpc_cidr = var.vpc_cidr region = var.region availability_zones = var.availability_zones component = var.component deployment_identifier = var.deployment_identifier private_zone_id =...
Use latest base networking module in tests.
Use latest base networking module in tests.
HCL
mit
tobyclemson/terraform-aws-ecs-cluster,tobyclemson/terraform-aws-ecs-cluster
baaa2cbb65ce9b905ef83d621ab88bbfccca5b13
test.tf
test.tf
provider "nsone" { apikey = "fF4uiAIL9wntC7Bdar0a" } resource "nsone_zone" "foo_com" { zone = "foo.com" ttl = 60 } resource "nsone_record" "www_foo_com" { zone = "foo.com" domain = "www.foo.com" type = "A" }
provider "nsone" { apikey = "fF4uiAIL9wntC7Bdar0a" } resource "nsone_zone" "foo_com" { zone = "foo.com" ttl = 60 } resource "nsone_record" "www_foo_com" { zone = "foo.com" domain = "www.foo.com" type = "A" answers = [ "1.1.1.1", "2.2.2.2" ] }
Add answers to the .tf file, don't work yet
Add answers to the .tf file, don't work yet
HCL
mpl-2.0
sarguru/terraform,sarguru/terraform,sarguru/terraform,sarguru/terraform,sarguru/terraform
50ec8e1d48a0fbbfe377b552f463ac21850e6e8d
terraform/accounts/backups/main.tf
terraform/accounts/backups/main.tf
provider "aws" { region = "eu-west-1" version = "1.9.0" } resource "aws_iam_account_alias" "alias" { account_alias = "digitalmarketplace-backups" } terraform { backend "s3" { bucket = "digitalmarketplace-terraform-state-backups" key = "accounts/backups/terraform.tfstate" region = "eu-west-1...
provider "aws" { region = "eu-west-1" version = "1.9.0" } provider "aws" { alias = "london" region = "eu-west-2" version = "1.9.0" } resource "aws_iam_account_alias" "alias" { account_alias = "digitalmarketplace-backups" } terraform { backend "s3" { bucket = "digitalmarketplace-terraform-state...
Add provider block for cross region backups replication
Add provider block for cross region backups replication
HCL
mit
alphagov/digitalmarketplace-aws,alphagov/digitalmarketplace-aws,alphagov/digitalmarketplace-aws
89fe6505f97fd38e61a87646787d3e2b59e42369
contrib/terraform/openstack/modules/network/main.tf
contrib/terraform/openstack/modules/network/main.tf
resource "openstack_networking_router_v2" "k8s" { name = "${var.cluster_name}-router" admin_state_up = "true" external_gateway = "${var.external_net}" } resource "openstack_networking_network_v2" "k8s" { name = "${var.network_name}" admin_state_up = "true" } resource "openstack_netwo...
resource "openstack_networking_router_v2" "k8s" { name = "${var.cluster_name}-router" admin_state_up = "true" external_network_id = "${var.external_net}" } resource "openstack_networking_network_v2" "k8s" { name = "${var.network_name}" admin_state_up = "true" } resource "openst...
Correct use of deprecated argument to TF/OpenStack module
Correct use of deprecated argument to TF/OpenStack module https://www.terraform.io/docs/providers/openstack/r/networking_router_v2.html#external_gateway
HCL
apache-2.0
Atoms/kubespray,insequent/kargo,kubernetes-incubator/kargo,kubernetes-incubator/kubespray,kubernetes-incubator/kubespray,kubernetes-sigs/kubespray,kubernetes-sigs/kubespray,Atoms/kubespray,insequent/kargo,Atoms/kubespray,kubespray/kargo,kubespray/kargo,kubernetes-sigs/kubespray,kubernetes-incubator/kargo,kubernetes-sig...
40a696c40d2996a2a914a053e164b1fc357c4611
aws/aws.tf
aws/aws.tf
provider "aws" { } provider "gzip" {compressionlevel = "BestCompression"} # configured via: # $ export AWS_ACCESS_KEY_ID="anaccesskey" # $ export AWS_SECRET_ACCESS_KEY="asecretkey" # $ export AWS_DEFAULT_REGION="us-west-2" # https://www.terraform.io/docs/providers/aws/#environment-variables terraform { backend "s3...
provider "aws" { } provider "gzip" {compressionlevel = "BestCompression"} # configured via: # $ export AWS_ACCESS_KEY_ID="anaccesskey" # $ export AWS_SECRET_ACCESS_KEY="asecretkey" # $ export AWS_DEFAULT_REGION="us-west-2" # https://www.terraform.io/docs/providers/aws/#environment-variables
Remove Default Backend Config from AWS
Remove Default Backend Config from AWS
HCL
apache-2.0
cncf/cross-cloud
b44da4b051046d812a0a80feb81a416f3bd1be33
terraform/rdslogs.tf
terraform/rdslogs.tf
# This terraform configuration describes the minimum AWS requirements # for RDSLogs resource aws_iam_user "honeycomb-rdslogs-svc-user" { name = "honeycomb-rdslogs-svc-user" } resource "aws_iam_policy" "honeycomb-rdslogs-policy" { name = "honeycomb-rdslogs-policy" description = "minimal policy for honeycomb RDSLo...
Add terraform config for service user and IAM policy
Add terraform config for service user and IAM policy
HCL
apache-2.0
honeycombio/rdslogs,honeycombio/rdslogs
a02dd4e231c2d78c7ab0963c212d799b5e86cd14
gcp/modules/istio-gke-helper/main.tf
gcp/modules/istio-gke-helper/main.tf
terraform { backend "gcs" {} } variable "secrets_dir" {} variable "charts_dir" {} module "istio-gke-helper" { source = "/exekube-modules/helm-release" tiller_namespace = "kube-system" client_auth = "${var.secrets_dir}/kube-system/helm-tls" release_name = "istio-gke-helper" release_nam...
# This functionality cannot co-exist in istio module due to Terraform's # inability to handle dynamic provider configuration for import command (even # though the provider is not used for the actual resource import, helm_release # & helm provider use data source dependent config). See # hashicorp/terraform#17847 for de...
Add comment explaining necessity for separate module
GPII-3992: Add comment explaining necessity for separate module
HCL
bsd-3-clause
mrtyler/gpii-terraform,mrtyler/gpii-infra,mrtyler/gpii-terraform,mrtyler/gpii-infra,mrtyler/gpii-infra,mrtyler/gpii-infra,mrtyler/gpii-terraform
17feeb1343fd801b4a20be6e1b8d2c8546cae656
spec/infra/prerequisites/main.tf
spec/infra/prerequisites/main.tf
module "base_network" { source = "infrablocks/base-networking/aws" version = "2.0.0" vpc_cidr = var.vpc_cidr region = var.region availability_zones = var.availability_zones component = var.component deployment_identifier = var.deployment_identifier private_zone_id = var.private_zone_id }
module "base_network" { source = "infrablocks/base-networking/aws" version = "2.3.0" vpc_cidr = var.vpc_cidr region = var.region availability_zones = var.availability_zones component = var.component deployment_identifier = var.deployment_identifier private_zone_id = var.private_zone_id }
Update base networking in tests.
Update base networking in tests.
HCL
mit
tobyclemson/terraform-aws-ecs-cluster,tobyclemson/terraform-aws-ecs-cluster
4e5c9dccaa960eb75bbfad26aeac363f1aa21083
modules/slo-pipeline/iam.tf
modules/slo-pipeline/iam.tf
/** * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
/** * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
Make service account name parameterizable
Make service account name parameterizable
HCL
apache-2.0
terraform-google-modules/terraform-google-slo
8f5e3bfb17e295666bd2fd3b3645b4db4c911eb5
examples/real_time_enforcer/nat.tf
examples/real_time_enforcer/nat.tf
resource "random_pet" "main" { length = "1" prefix = "forseti-simple-example" separator = "-" } resource "google_compute_router" "main" { name = "${random_pet.main.id}" network = "default" bgp { asn = "64514" } region = "us-central1" project = "${var.project_id}" } data "google_compu...
Add NAT config to real-time-enforcer example
Add NAT config to real-time-enforcer example
HCL
apache-2.0
forseti-security/terraform-google-forseti,forseti-security/terraform-google-forseti,forseti-security/terraform-google-forseti
7dd999fbef09c5e32d7d876219969903657766a8
packet/resolv.tf
packet/resolv.tf
#Configure Resolve.conf resource "null_resource" "resolv_conf" { provisioner "local-exec" { command = <<EOF echo -e "nameserver "${ module.master.nameserver }"\n$(cat /etc/resolv.conf)" > /etc/resolv.conf EOF } }
#Configure Resolve.conf resource "null_resource" "resolv_conf" { provisioner "local-exec" { command = <<EOF echo -e "nameserver "${ module.master.nameserver }"\n$(cat /etc/resolv.conf)" > /etc/resolv.conf echo -e "nameserver "${ module.master.nameserver }" >> "${ var.data_dir }/kubeconfig" EOF } }
Add Packet Nameserver to Kubeconfig
Add Packet Nameserver to Kubeconfig
HCL
apache-2.0
cncf/cross-cloud
5ce14185bc421f8e0230588fd3184bb7593b381b
aws/modules/worker/ec2.tf
aws/modules/worker/ec2.tf
resource "aws_instance" "worker" { count = "${ var.worker_node_count }" ami = "${ var.ami_id }" iam_instance_profile = "${ var.instance_profile_name }" instance_type = "${ var.instance_type }" key_name = "${ var.aws_key_name }" source_dest_check = false associate_public_ip_address = false subnet_id = ...
resource "aws_instance" "worker" { count = "${ var.worker_node_count }" ami = "${ var.ami_id }" iam_instance_profile = "${ var.instance_profile_name }" instance_type = "${ var.instance_type }" key_name = "${ var.aws_key_name }" source_dest_check = false associate_public_ip_address = false subnet_id = ...
Join worker data using ','
Join worker data using ','
HCL
apache-2.0
cncf/cross-cloud
9b96975e9064f4621ea18a3737b866d47915b8c1
test/fixtures/simple_example/variables.tf
test/fixtures/simple_example/variables.tf
/** * Copyright 2018 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
/** * Copyright 2018 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
Update default region for test fixture
Update default region for test fixture
HCL
apache-2.0
terraform-google-modules/terraform-google-slo
c708749286b56ece8eb42ed671c850b8509fa6aa
nubis/terraform/main.tf
nubis/terraform/main.tf
module "worker" { source = "github.com/nubisproject/nubis-terraform//worker?ref=v2.3.0" region = "${var.region}" environment = "${var.environment}" account = "${var.account}" service_name = "${var.service_name}" purpose = "webserver" ami =...
provider "aws" { region = "${var.region}" } module "worker" { source = "github.com/nubisproject/nubis-terraform//worker?ref=v2.3.0" region = "${var.region}" environment = "${var.environment}" account = "${var.account}" service_name = "${var.service_name}" pu...
Add aws module to skel
Add aws module to skel
HCL
mpl-2.0
tinnightcap/nubis-skel,tinnightcap/nubis-skel,Nubisproject/nubis-skel
bdbff8d6d45b367db8be51213e84f34021471af7
bootstrap/variables.tf
bootstrap/variables.tf
variable "aws_account_id" { type = "string" } variable "region" { type = "string" default = "eu-west-1" } variable "environment" { type = "string" default = "bootstrap" } variable "project" { type = "string" } variable "bucket_name" { type = "string" }
variable "aws_account_id" { type = "string" } variable "region" { type = "string" } variable "environment" { type = "string" default = "bootstrap" } variable "project" { type = "string" } variable "bucket_name" { type = "string" }
Remove default eu-west-1 from bootstrap variable declaration
Remove default eu-west-1 from bootstrap variable declaration
HCL
mit
cartest/terraformscaffold,Zordrak/terraformscaffold
56248183b5c3f15faf04776773bf77a500823bcf
plans/variables.tf
plans/variables.tf
variable "subscription_id" {} variable "client_id" {} variable "client_secret" {} variable "tenant_id" {} variable "prefix" {} variable "dockerregistrylocation" { type = "string" default = "East US" } variable "location" { type = "string" default = "East US 2" } # Port used for Puppet agents to co...
variable "subscription_id" {} variable "client_id" {} variable "client_secret" {} variable "tenant_id" {} variable "prefix" {} variable "dockerregistrylocation" { type = "string" default = "East US" } variable "location" { type = "string" default = "East US 2" } # Port used for Puppet agents to co...
Update to a more obvious ssh key
Update to a more obvious ssh key
HCL
mit
olblak/azure,olblak/azure,jenkins-infra/azure,olblak/azure
1f37e51e7119c2e4b2847c015254a935839c5341
tests/MyTestSuiteSSH.hcl
tests/MyTestSuiteSSH.hcl
name = "MyTestSuite" testcase { name = "ssh foo status" step { type = "ssh" host = "localhost" command = "echo foo" assertions = [ "result.code ShouldEqual 0", "result.timeseconds ShouldBeLessThan 10", ] } }
name = "MyTestSuite" testcase { name = "ssh foo status" step { type = "ssh" host = "localhost" command = "echo foo" assertions = [ "result.code ShouldEqual 0", "result.timeseconds ShouldBeLessThan 10", ] } step { type = "ssh" host = "localhost" command = "echo bar...
Enhance the HCL example to be a bit more rich.
Enhance the HCL example to be a bit more rich. Show how to have: - Two steps in a test case - Two test cases All in the same test suite.
HCL
bsd-3-clause
runabove/venom,runabove/venom
1e86ae3c28e9dcff32b8ffc6b0ae52d560d7f587
terraform/outputs.tf
terraform/outputs.tf
output "domain" { value = "${var.domain}" } output "region" { value = "${var.region}" }
output "domain" { value = "${var.domain}" } output "region" { value = "${var.region}" } output "vpc" { value = "${aws_vpc.kubernetes.id}" }
Add a Terraform output for the VPC.
Add a Terraform output for the VPC.
HCL
mit
InQuicker/kaws
59b86e61de9e01ab13983b62d186d90cba46d329
terraform/state_machine.tf
terraform/state_machine.tf
resource "aws_sfn_state_machine" "check_in" { name = "sw-check-in" role_arn = "${aws_iam_role.state_machine.arn}" definition = <<EOF { "Comment": "Checks in a Southwest reservation", "StartAt": "ScheduleCheckIn", "States": { "ScheduleCheckIn": { "Type": "Task", "Resource": "${aws_lambda...
resource "aws_sfn_state_machine" "check_in" { name = "check-in" role_arn = "${aws_iam_role.state_machine.arn}" definition = <<EOF { "Comment": "Checks in a Southwest reservation", "StartAt": "ScheduleCheckIn", "States": { "ScheduleCheckIn": { "Type": "Task", "Resource": "${aws_lambda_fu...
Change name back to check-in
Change name back to check-in I'd have to replace my existing state machine and lose all the saved check-ins, so I'm just gonna go the lazy route here.
HCL
mit
DavidWittman/serverless-southwest-check-in
4f7f65eea9fe0da036e48fb9f922fc275f1792cb
modules/project_services/outputs.tf
modules/project_services/outputs.tf
/** * Copyright 2018 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
/** * Copyright 2018 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
Fix module crash on empty api list
Fix module crash on empty api list If the activate_apis variable was set to an empty list, the project_services module would crash on trying to get the 0 index of the empty list. Fix is to instead of only returning the project id from the input if the enable_apis is false, just concat that variable to the list, so if ...
HCL
apache-2.0
terraform-google-modules/terraform-google-project-factory,terraform-google-modules/terraform-google-project-factory,terraform-google-modules/terraform-google-project-factory,terraform-google-modules/terraform-google-project-factory
2d56429a51d4735e6c2cd9d684245222518d09fb
catalogue_pipeline/terraform/pipeline/vhs_recorder.tf
catalogue_pipeline/terraform/pipeline/vhs_recorder.tf
module "vhs_recorder" { source = "../../../catalogue_pipeline_data/terraform/vhs" name = "${replace(var.namespace, "_", "-")}-Recorder" table_stream_enabled = false }
module "vhs_recorder" { source = "../../../catalogue_pipeline_data/terraform/vhs" name = "${replace(var.namespace, "_", "-")}-Recorder" table_read_max_capacity = 300 table_write_max_capacity = 300 table_stream_enabled = false }
Increase the read capacity on the recorder VHS
Increase the read capacity on the recorder VHS
HCL
mit
wellcometrust/platform-api,wellcometrust/platform-api,wellcometrust/platform-api,wellcometrust/platform-api
54710bcd488f0043c3091f7ad9aac3a7ed09bdab
terraform/u-r-d/omnibus-standalone-inplace-upgrade.tf
terraform/u-r-d/omnibus-standalone-inplace-upgrade.tf
module "chef_server_omnibus_standalone_inplace_upgrade_server" { source = "git@github.com:chef/es-terraform.git//modules/chef_managed_instance" # Global Settings environment = "${var.environment}" # AWS Settings aws_instance_type = "m4.large" aws_private_key = "${var.aws_private_key}" aws_key_na...
module "chef_server_omnibus_standalone_inplace_upgrade_server" { source = "git@github.com:chef/es-terraform.git//modules/chef_managed_instance" # Global Settings environment = "${var.environment}" # AWS Settings aws_instance_type = "m4.large" aws_private_key = "${var.aws_private_key}" aws_key_na...
Disable API termination for delivered instances
Disable API termination for delivered instances Signed-off-by: Tom Duffield <96835dd8bfa718bd6447ccc87af89ae1675daeca@chef.io>
HCL
apache-2.0
chef/chef-server,chef/chef-server,chef/chef-server,chef/chef-server,chef/chef-server,chef/chef-server
c87458c3f85fc2ae6590e28a9e50aae081107d41
gke/modules.tf
gke/modules.tf
module "vpc" { source = "./modules/vpc" name = "${ var.name }" cidr = "${ var.cidr }" region = "${ var.region }" } module "cluster" { source = "./modules/cluster" name = "${ var.name }" region = "${ var.region }" zone = "${ var.zone }" project = "${ var.project}" node_count = "${ var.node_count }" ...
module "vpc" { source = "./modules/vpc" name = "${ var.name }" cidr = "${ var.cidr }" region = "${ var.region }" } module "cluster" { source = "./modules/cluster" name = "${ var.name }" region = "${ var.region }" zone = "${ var.zone }" project = "${ var.project}" node_count = "${ var.node_count }" ...
Update Kubeconfig Module to Decodebase64 and use GKE Certs
Update Kubeconfig Module to Decodebase64 and use GKE Certs
HCL
apache-2.0
cncf/cross-cloud
b43c90653a02d2a573b9c3ab72551c71813090da
gatekeeper-policy.hcl
gatekeeper-policy.hcl
/* Add the ability to create orphan tokens with any policy. */ path "auth/token/create" { capabilities = ["create", "read", "sudo", "update"] } path "auth/token/create/*" { capabilities = ["create", "read", "sudo", "update"] } path "auth/token/create-orphan" { capabilities = ["create", "read", "sudo", "update"] }...
Add sample gatekeeper vault policy.
Add sample gatekeeper vault policy.
HCL
mit
broamski/vault-gatekeeper-mesos,broamski/vault-gatekeeper-mesos,ChannelMeter/vault-gatekeeper-mesos,ChannelMeter/vault-gatekeeper-mesos
70b93c9e5344f98655a5a20fc0deeb2ec32d0cae
outputs.tf
outputs.tf
/** * Copyright 2018 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
/** * Copyright 2018 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
Add implicit dependency for region output.
Add implicit dependency for region output.
HCL
apache-2.0
terraform-google-modules/terraform-google-cloud-nat,terraform-google-modules/terraform-google-cloud-nat
90175be31fc755bde2d19b688aca1892ce69bf55
terraform/s3.tf
terraform/s3.tf
//////////////////////////////// // Job Log Storage in S3 // // Currently, we need to get a key and secret for this user and put // those into the jobsrv config. In the future, we may be able to just // use instance roles. resource "aws_iam_user" "jobs" { name = "jobs-${var.env}" } // Job log storage; the server ret...
Create bucket for job logs
Create bucket for job logs This creates an S3 bucket to store job logs in, along with an IAM user and a bucket policy that only allows that user to put and get objects from the bucket. To configure the job server to use the bucket, we will need to create a key and secret for this IAM user out-of-band, but we may be a...
HCL
apache-2.0
nathenharvey/habitat,nathenharvey/habitat,georgemarshall/habitat,rsertelon/habitat,georgemarshall/habitat,georgemarshall/habitat,habitat-sh/habitat,georgemarshall/habitat,rsertelon/habitat,rsertelon/habitat,georgemarshall/habitat,nathenharvey/habitat,nathenharvey/habitat,habitat-sh/habitat,rsertelon/habitat,nathenharve...
9d495b2ee0a3aace5469e048e8068859cb47e86f
aws/modules/master/ec2.tf
aws/modules/master/ec2.tf
resource "aws_network_interface" "master" { count = "${ var.master_node_count }" subnet_id = "${ var.subnet_private_id }" private_ips = [ "${ var.subnet_prefix }.${ count.index + 10 }" ] security_groups = [ "${ var.master_security }" ] source_dest_check = false } resource "aws_instance" "master" { count = ...
resource "aws_network_interface" "master" { count = "${ var.master_node_count }" subnet_id = "${ var.subnet_private_id }" private_ips = [ "${ var.subnet_prefix }.${ count.index + 10 }" ] security_groups = [ "${ var.master_security }" ] source_dest_check = false } resource "aws_instance" "master" { count = ...
Split Cloud_init Data out using ;
Split Cloud_init Data out using ;
HCL
apache-2.0
cncf/cross-cloud
672b28d099854ad5b244c9f0dad020be92d893f2
examples/brightbox_cloudip/main.tf
examples/brightbox_cloudip/main.tf
# Specify the provider and access details provider "brightbox" { } resource "brightbox_cloudip" "default" { target = "${brightbox_server.web.id}" } # Our default security group to access # the instances over SSH and HTTP resource "brightbox_security_group" "default" { description = "Used by the terraform" # SS...
# Specify the provider and access details provider "brightbox" { } resource "brightbox_cloudip" "default" { target = "${brightbox_server.web.id}" } # Our default server group to access # the instances over SSH and HTTP resource "brightbox_server_group" "default" { description = "Used by the terraform" # SSH ac...
Fix name of server groups in examples
Fix name of server groups in examples
HCL
mpl-2.0
brightbox/terraform-provider-brightbox,brightbox/terraform-provider-brightbox,brightbox/terraform-provider-brightbox
646edaff5c2dd38ab71cf485be55b8798f2053df
POC_NOMAD_BOX/Windows_Nano_Server_DSC/outputs.tf
POC_NOMAD_BOX/Windows_Nano_Server_DSC/outputs.tf
output "public_ip_primary" { value = "${azurerm_public_ip.pubip.ip_address}" } output "public_fqdn_primary" { value = "${azurerm_public_ip.pubip.fqdn}" } output "public_ip_backup" { value = "${azurerm_public_ip.pubip2.ip_address}" } output "public_fqdn_backup" { value = "${azurerm_public_ip.pubip2.fqdn}" } ...
/* output "public_ip_primary" { value = "${azurerm_public_ip.pubip.ip_address}" } output "public_fqdn_primary" { value = "${azurerm_public_ip.pubip.fqdn}" } output "public_ip_backup" { value = "${azurerm_public_ip.pubip2.ip_address}" } output "public_fqdn_backup" { value = "${azurerm_public_ip.pubip2.fqdn}" ...
Add output for Windows node IP address (internal)
Summary: Add output for Windows node IP address (internal) Changesets: - Extract out the Windows node IP
HCL
agpl-3.0
leowmjw/playground-infra,leowmjw/playground-infra,leowmjw/playground-infra
964c172e8786e7469bafaa62750875ec5e8a3ff3
sierra_adapter/terraform/items_to_dynamo/vhs_sierra_items.tf
sierra_adapter/terraform/items_to_dynamo/vhs_sierra_items.tf
module "vhs_sierra_items" { source = "../../../catalogue_pipeline/terraform/vhs" name = "sourcedata-sierra-items" }
module "vhs_sierra_items" { source = "../../../catalogue_pipeline_data/terraform/vhs" name = "sourcedata-sierra-items" }
Fix the path in the sierra_adapter stack
Fix the path in the sierra_adapter stack
HCL
mit
wellcometrust/platform-api,wellcometrust/platform-api,wellcometrust/platform-api,wellcometrust/platform-api
891c41e81e45ddbd69e94a0cec6c3340c99b7ce9
packet/resolv.tf
packet/resolv.tf
#Configure Resolve.conf resource "null_resource" "resolv_conf" { provisioner "local-exec" { command = <<EOF echo -e "nameserver "${ module.master.nameserver }"\n$(cat /etc/resolv.conf)" > /etc/resolv.conf EOF } } resource "null_resource" "resolv_conf_kubeconfig" { provisioner "local-exec" { command = ...
#Configure Resolve.conf resource "null_resource" "resolv_conf" { provisioner "local-exec" { command = <<EOF echo "nameserver "${ module.master.nameserver }"\n$(cat /etc/resolv.conf)" > /etc/resolv.conf EOF } } resource "null_resource" "resolv_conf_kubeconfig" { provisioner "local-exec" { command = <<E...
Remove echo -e for debian based docker images
Remove echo -e for debian based docker images
HCL
apache-2.0
cncf/cross-cloud
a7e7ef3301cd6ddc3b49b83fd75736c83018bb27
terraform/modules/cloudtrail/cloudtrail-cloudwatch/variables.tf
terraform/modules/cloudtrail/cloudtrail-cloudwatch/variables.tf
variable "trail_name" { description = "The name of the CloudTrail trail we are setting up CloudWatch for." } variable "retention_in_days" { default = 730 description = "Days to keep CloudTrail log events in CloudWatch" }
variable "trail_name" { description = "The name of the CloudTrail trail we are setting up CloudWatch for." } variable "retention_in_days" { default = 731 description = "Days to keep CloudTrail log events in CloudWatch" }
Set retention_in_days cloudwatch variable default to valid value
Set retention_in_days cloudwatch variable default to valid value
HCL
mit
alphagov/digitalmarketplace-aws,alphagov/digitalmarketplace-aws,alphagov/digitalmarketplace-aws
18979e6619b9621a55c6754b397fc566263b62be
terraform/cloudfoundry/shield_and_waf.tf
terraform/cloudfoundry/shield_and_waf.tf
resource "aws_shield_protection" "shield_for_app_gorouter_alb" { name = "${var.env}-app-gorouter-shield" resource_arn = "${aws_lb.cf_router_app_domain.arn}" } resource "aws_shield_protection" "shield_for_system_gorouter_alb" { name = "${var.env}-system-gorouter-shield" resource_arn = "${aws_lb.cf_router_system...
resource "aws_shield_protection" "shield_for_app_gorouter_alb" { name = "${var.env}-app-gorouter-shield" resource_arn = "${aws_lb.cf_router_app_domain.arn}" } resource "aws_shield_protection" "shield_for_system_gorouter_alb" { name = "${var.env}-system-gorouter-shield" resource_arn = "${aws_lb....
Apply WAF rules to app and system load balancers
Apply WAF rules to app and system load balancers We apply an AWS WAF [1] request rate rule to the system and app domain load balancers for DDoS protection. We set the limit to allow 600,000 requests from the same IP in a 5 minute period, based on the maximum number of requests from any one IP address in our production...
HCL
mit
alphagov/paas-cf,alphagov/paas-cf,alphagov/paas-cf,alphagov/paas-cf,alphagov/paas-cf,alphagov/paas-cf,alphagov/paas-cf,alphagov/paas-cf
e575be26ff30a4f61bbe3ba6a6be02e5b4793067
terraform/service/main.tf
terraform/service/main.tf
################################################################################### # Creates a Cloud Run Service ################################################################################### resource google_cloud_run_service unicodex { name = var.service location = ...
################################################################################### # Creates a Cloud Run Service ################################################################################### resource google_cloud_run_service unicodex { name = var.service location = ...
Set this value as it's automatically set by Cloud Run
Set this value as it's automatically set by Cloud Run Otherwise a 1000 -> null diff comes back, confusing the user
HCL
apache-2.0
GoogleCloudPlatform/django-demo-app-unicodex,GoogleCloudPlatform/django-demo-app-unicodex,GoogleCloudPlatform/django-demo-app-unicodex
6235fed3ce307eb57d453e5f6fbf7b8d25c27aea
packet/resolv.tf
packet/resolv.tf
#Configure Resolve.conf resource "null_resource" "resolv_conf" { provisioner "local-exec" { command = <<EOF echo "nameserver "${ module.master.nameserver }"\n$(cat /etc/resolv.conf)" > /etc/resolv.conf EOF } } resource "null_resource" "resolv_conf_kubeconfig" { provisioner "local-exec" { command = <<E...
#Configure Resolve.conf resource "null_resource" "resolv_conf" { provisioner "local-exec" { command = <<EOF echo "nameserver "${ module.master.nameserver }"\n$(cat /etc/resolv.conf)" > /etc/resolv.conf EOF } } resource "null_resource" "resolv_conf_kubeconfig" { provisioner "local-exec" { command = <<E...
Add Nameserver IP to Kubeconfig
Add Nameserver IP to Kubeconfig
HCL
apache-2.0
cncf/cross-cloud
500069da9ca15f49004d15c26710bdf7a6dc6ee3
plan-patches/cfcr-gcp/terraform/cfcr_dns_override.tf
plan-patches/cfcr-gcp/terraform/cfcr_dns_override.tf
variable "kubernetes_master_host" { type = "string" } resource "google_dns_managed_zone" "cfcr_dns_zone" { name = "${var.env_id}-cfcr-zone" dns_name = "${var.kubernetes_master_host}." description = "DNS zone for the ${var.env_id} cfcr environment" } resource "google_dns_record_set" "cfcr_api_dns" { ...
variable "kubernetes_master_host"{ type = "string" } variable "custom_managed_zone" { type = "string" default = "" } resource "google_dns_managed_zone" "cfcr_dns_zone" { name = "${var.env_id}-cfcr-zone" dns_name = "${var.kubernetes_master_host}." description = "DNS zone for the ${var.env_id} cfc...
Allow user to specify dns managed zone
Allow user to specify dns managed zone Signed-off-by: Oleksandr Slynko <4e0b08036a6e8359453f77324c7b401fdae249da@pivotal.io>
HCL
apache-2.0
pivotal-cf-experimental/bosh-bootloader,pivotal-cf-experimental/bosh-bootloader
0de8c8aec4da470a12fb6cb057b96c6f227bee87
deployment/terraform/aws/private-sentries/main.tf
deployment/terraform/aws/private-sentries/main.tf
data "aws_ami" "ubuntu" { most_recent = true owners = ["099720109477"] filter { name = "name" values = ["ubuntu-minimal/images/hvm-ssd/ubuntu-focal-20.04-amd64-minimal-*"] } filter { name = "virtualization-type" values = ["hvm"] } } resource "aws_key_p...
data "aws_ami" "ubuntu" { most_recent = true owners = ["099720109477"] filter { name = "name" values = ["ubuntu-minimal/images/hvm-ssd/ubuntu-focal-20.04-amd64-minimal-*"] } filter { name = "virtualization-type" values = ["hvm"] } } resource "aws_key_p...
Add elastic IPs to Private Sentry nodes
Add elastic IPs to Private Sentry nodes
HCL
apache-2.0
zigbee-alliance/distributed-compliance-ledger,zigbee-alliance/distributed-compliance-ledger,zigbee-alliance/distributed-compliance-ledger,zigbee-alliance/distributed-compliance-ledger,zigbee-alliance/distributed-compliance-ledger,zigbee-alliance/distributed-compliance-ledger
7d0c93475b166cf3a3ff18f8b80e85adef5defc3
terraform/es_ingest_queue.tf
terraform/es_ingest_queue.tf
/* Once records have been retrieved from DynamoDB and transformed into a JSON form suitable for Elasticsearch ingestion, they're sent to an SNS topic, which in turn pushes them to an SQS queue. We have a worker that reads records from this queue and actually pushes them to Elasticsearch. This file sets up t...
Add Terraform config for SQS/SNS ingest pieces
Add Terraform config for SQS/SNS ingest pieces
HCL
mit
wellcometrust/platform-api,wellcometrust/platform-api,wellcometrust/platform-api,wellcometrust/platform-api
464b9ad5c57beae6cba333f4f9ec3cb40406182a
terraform/rds/main.tf
terraform/rds/main.tf
resource "aws_rds_cluster_instance" "cluster_instances" { count = 2 identifier = "${var.cluster_identifier}-${count.index}" cluster_identifier = "${aws_rds_cluster.default.id}" instance_class = "db.t2.small" db_subnet_group_name = "${aws_db_subnet_group.default.name}" } resource "aws_db_su...
resource "aws_rds_cluster_instance" "cluster_instances" { count = 2 identifier = "${var.cluster_identifier}-${count.index}" cluster_identifier = "${aws_rds_cluster.default.id}" instance_class = "db.t2.small" db_subnet_group_name = "${aws_db_subnet_group.default.name}" publicly_accessible ...
Make the cluster instances publicly accessible
Make the cluster instances publicly accessible
HCL
mit
wellcometrust/platform-api,wellcometrust/platform-api,wellcometrust/platform-api,wellcometrust/platform-api
a031facc7b623663969cd7b85d9dfb7bfbdba751
terraform/digitalocean/variables.tf
terraform/digitalocean/variables.tf
variable "do_token" { description = "Digital Ocean API token." } variable "do_ssh_public_key_id" { description = "SSH public key id." } variable "do_ssh_private_key_file" { description = "Path to the SSH private key file." } variable "do_region" { description = "The DO region to operate under." d...
variable "do_token" { description = "Digital Ocean API token." } variable "do_ssh_public_key_id" { description = "SSH public key id." } variable "do_ssh_private_key_file" { description = "Path to the SSH private key file." } variable "do_region" { description = "The DO region to operate under." d...
Increase default RAM available on DigitalOcean brain to 1GB.
Increase default RAM available on DigitalOcean brain to 1GB. [#96611016] Signed-off-by: David Wadden <ff4ebafbe4a7d77cde45f9afefafd7a5dfa94f36@pivotal.io>
HCL
apache-2.0
SrinivasChilveri/lattice,datachand/lattice,davidwadden/lattice,datachand/lattice,cloudfoundry-incubator/ltc,Klaudit/lattice,svrc-pivotal/lattice,Klaudit/lattice,SrinivasChilveri/lattice,Klaudit/lattice,SrinivasChilveri/lattice,SrinivasChilveri/lattice,datachand/lattice,felipeg48/lattice,datachand/lattice,svrc-pivotal/l...
bc5bc832bf5b4000332b8b13ca410739cbc770fd
modules/mirror/main.tf
modules/mirror/main.tf
module "mirror" { source = "../host" base_configuration = var.base_configuration name = "mirror" use_os_released_updates = var.use_os_released_updates additional_repos = var.additional_repos additional_packages = var.additional_packages swap_file_size = var.sw...
module "mirror" { source = "../host" base_configuration = var.base_configuration name = "mirror" use_os_released_updates = var.use_os_released_updates additional_repos = var.additional_repos additional_packages = var.additional_packages swap_file_size = var.sw...
Update mirror to openSUSE 15.3
Update mirror to openSUSE 15.3 Signed-off-by: Silvio Moioli <7c988a0a7b85739051fc55a56cfbed2f6b1122a5@suse.com>
HCL
bsd-3-clause
moio/sumaform,moio/sumaform,moio/sumaform