Terraform

Terraform can manage existing and popular service providers, such as AWS, as well as custom in-house solutions.
It uses configuration files to describe the components necessary to run a single application or your entire datacenter.
It generates an execution plan describing what will happen to reach the desired state, and afterwards executes it to build the desired infrastructure. As the configuration changes, Terraform is able to determine the changes and create incremental execution plans which can be applied.
The infrastructure Terraform can manage includes low-level components such as compute instances, storage, and networking, as well as high-level components such as DNS (Domain Name Service) entries, SaaS (Software as a Service) features.
Here are 6,429 public repositories matching this topic...
## Python/Regex fix
This is a reminder for me or a task if anyone wants :P
Basically, The last two questions aren't really regex's questions.
To do:
- Move said questions to correct place.
- Add new regex questions (Python related!)?
- Maybe add a new ## Regex section, as it is a valuable skill
-
Updated
Apr 30, 2020
I want to give my users an option to select either local or remote backend. But it seems Terratest does not support setting path to the config file via -backend-config=PATH
parameter, only key-value parameters.
In my terragrunt.hcl I have:
remote_state {
backend = "s3"
generate = {
path = "backend.tf"
if_exists = "overwrite_terragrunt"
}
config = {
bucket = "states"
key = "${path_relative_to_include()}/terraform.tfstate"
region = "eu-west-1"
profile = "my-profile"
encrypt = false
}
}
When running terragrunt, the generated backend.tf i
In the policy definition below description has an embedded newline and the generated terraform is invalid.
resource "aws_iam_policy" "my_policy_name_role" {
name = "my_policy_name_role"
path = "/"
description = "This is the first line of the description followed by a newline
This is on a separate line"
policy = <<POLICY
[policy truncated for brevity
- Dockerfile include terraformer version with all providers
- Script install providers on start container
- Manual in README about docker run command, include volume mounts for outputs, credentials and etc.
I was trying to make a pretty simple PR, just change a tiny bit of HTML and CSS, but building Atlantis proved challenging. I am new to go
and its build requirements, but even accounting for that I think it was harder than it needed to be.
First of all, despite the comprehensive documentation on how to run and test Atlantis locally, I co
可视化方式展示防火墙状态,方便异常排错
能够以可视化方式显示 KO 部署机本身,及集群中各个主机的防火墙运行情况。
🐛 Bug Report
Operating System:
macOS 10.15.3
Docker Image:
budtmo/docker-android-x86-10.0
Docker Version:
Docker Desktop v2.2.0.3
Docker-compose version (Only if you use it):
N/A
Docker Command to start docker-android:
N/A
Expected Behavior
docker build completes without errors
Actual Behavior
An image is build based on budtmo/docker-android-x86-10.0
Background
Having added some streamalert-cli
commands, the documentation on the command line via -h
and ReadTheDocs varies and is laborious to maintain.
Description
A fantastic tool, to reduce this headache is sphinx-argparse
. In short, it adds the ability to take an argparse
parser and create documentation from the descriptions
and everything else in the parser. A live e
The Metric Trigger now supports a "dividePerInstance" boolean to aid with scaling rules based on Storage Queues. This should be exposed in the Terraform API.
Community Note
Please vote on this issue by adding a
Please do not leave "+1" or "me too" comments, they generate extra noise for issue fol
There is a large warning for the resource aws_iam_policy_attachment
to use aws_iam_role_policy_attachment
instead.
I'd like to prevent the first resource from getting into our infrastructure with an appropriate tflint rule. We could mak
Tutorial assumes Europe. (https://github.com/Artemmkin/infrastructure-as-code-tutorial/blob/master/docs/01-prerequisites.md)
Set a default compute region:
$ gcloud config set compute/region europe-west1
Set a default compute zone:
$ gcloud config set compute/zone europe-west1-b
Recommend pointing student to https://cloud.google.com/compute/docs/regions-zones
-
Updated
Jun 7, 2020
resource "aws_instance" "android_build" {
tags = {
Name = "Android Builder"
}
generates:
[name_android builder]
which fails with:
[WARNING]: * Failed to parse /Users/rngadam/coderbunker/prj/esmart/esmart-terraform-build/inventory.ini with ini plugin: /Users/rngadam/coderbunker/prj/esmart/esmart-
terraform-build/inventory.ini:18: Invalid section ent
Problem
I have the following declared in my conf.tf
file:
terraform {
required_version = "0.12.5"
backend "s3" {
bucket = "somebucket"
region = "eu-central-1"
role_arn = "somerole"
}
}
when I runterraform --version
, tfenv does not read the version listed but the version set by /usr/local/Cellar/tfenv/1.0.1/version
Intended Behaviou
I'm submitting a...
- bug report
- feature request
- support request - read the FAQ first!
- kudos, thank you, warm fuzzy
What is the current behavior?
When I apply the EKS Spot Instance [example](https://github.com/terraform-aws-modules/terraform-aws-eks/tree/master/examples/spot_
Bug
For want of a better categorisation. The first thing that kube-proxy logs at startup is the following:
W0913 12:02:58.529651 1 server.go:195] WARNING: all flags other than --config, --write-config-to, and --cleanup are deprecated. Please begin using a config file ASAP.
Environment
- Platform: aws
- OS: container-linux
- Ref: v1.11.2
- Terraform: 0.11.8
- Pl
Of the learning environments that leverage Ansible, very few are using roles. This can make porting Ansible playbooks across learning environments more difficult. To fix this, Ansible-using learning environments need to be refactored (where possible) to use an Ansible role.
Scan with variables
Hi :),
It's possible to scan with variables json or .tf file name ?
Like
{
"region": "eu-central-1",
"environment_id": "demo",
"tags": {
"EnvironmentId": "integration",
"ApplicationName": "demo",
"EnvironmentType": "development",
"Project": "pepito"
},
"rds_instances": [
{
"sg_name": "test-sg",
"kms_key_label": "kms",
"rds_label": "rds",
I walked through the various repos (dependabot-script, dependabot-core) for Dependabot, but haven't found any suitable documentation that covers the following stuff:
- How to run Dependabot with self-hosted GitHub, so that I could use it in the same way like I do regularly on GitHub with UI (e.g.
Describe the bug/feature
I would like kapitan to output unindented sequences.
At the moment it generates
mylist:
- item1
- item2
and I want
mylist:
- item1
- item2
The current behaviour seems deliberate (https://github.com/deepmind/kapitan/blob/25f4ebaca159a748e44683a45875e74be73c1570/kapitan/utils.py#L163-L170 ) but I would like to be able to deactivate
Hi!
Great work on getting a 2nd edition out and updated for 0.12. Just thought I'd flag up the the diagram on page 36 - The nomenclature isn't quite consistent with how chef would phrase this - see https://docs.chef.io/chef_overview.html. If you change out the chef users machine to chef workstation, the And the diagram the the target nodes could be labelled @app Server, each Running Chef-Clien
Blast Radius , when launched in --serve
mode, does some pretty weak error reporting, and does nothing to help users resolve problems. It asks the user to look into several possible issues, rather than checking itself...
To observe the current (undesired) behavior, run Blast Radius in an empty directory:
[...]$ mkdir tmp
[...]$ cd tmp
[...]$ blast-radius --serve
A short
-
Updated
Apr 3, 2020 - Python
Describe the bug
Several of the screens in the Cognito User Pool console (post-creation) are not captured.
To Reproduce
Steps to reproduce the behavior:
- Go to 'Cognito User Pools' in the console.
- Click on an existing User Pool with an App Client.
- Scroll down to 'Federation' and fill out the two pages, e.g. for Google.
- Scroll up to 'App Integration' and fill out the App
Created by Mitchell Hashimoto, HashiCorp
Released July 28, 2014
Latest release 12 days ago
- Repository
- hashicorp/terraform
- Website
- www.terraform.io
- Wikipedia
- Wikipedia
Hi,
i've noticed a weird behaviour in respect to the HTTP_PROXY, HTTPS_PROXY environment variables:
Terraform Version