This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"format_version": "0.1", | |
"terraform_version": "0.12.9", | |
"variables": { | |
"region": { | |
"value": "us-east-1" | |
} | |
}, | |
"planned_values": { | |
"root_module": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
esphome: | |
name: matrix | |
platform: ESP8266 | |
board: esp01_1m | |
web_server: | |
port: 80 | |
wifi: | |
ssid: !secret wifi_ssid |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
esphome: | |
name: matrix | |
platform: ESP8266 | |
board: esp01_1m | |
web_server: | |
port: 80 | |
wifi: | |
ssid: !secret wifi_ssid |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In file included from /root/.platformio/packages/framework-arduinoespressif8266/cores/esp8266/Arduino.h:259:0, | |
from src/esphome/core/esphal.h:3, | |
from src/esphome/core/helpers.h:9, | |
from src/esphome/components/api/util.h:3, | |
from src/esphome/components/api/api_message.h:4, | |
from src/esphome.h:2, | |
from src/main.cpp:3: | |
/root/.platformio/packages/framework-arduinoespressif8266/cores/esp8266/pgmspace.h:16:51: error: __c causes a section type conflict with __c | |
#define PSTR(s) (__extension__({static const char __c[] PROGMEM = (s); &__c[0];})) | |
^ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
packages: | |
yum: | |
nginx: [] | |
Resources: | |
AWSEBLoadBalancer: | |
Type: "AWS::ElasticLoadBalancing::LoadBalancer" | |
Properties: | |
HealthCheck: | |
HealthyThreshold: "3" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat tfplan.json | conftest test - | |
2 tests, 2 passed, 0 warnings, 0 failure |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat tfplan.json | conftest test - | |
FAIL - (policy/rds_create.rego) Minimum RDS Tags not set. Must include: ["managed_by", "environment", "team"] | |
FAIL - (policy/rds_update.rego) Minimum RDS Tags not set. Must include: ["managed_by", "environment", "team"] | |
2 tests, 0 passed, 0 warnings, 2 failures |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import input as tfplan | |
resource_types = {"aws_db_instance"} | |
minimum_tags = min_updated_tags { | |
some resource_type | |
min_updated_tags := updated_tags[resource_type] | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package terraform.analysis | |
import input as tfplan | |
resource_types = {"aws_db_instance"} | |
minimum_tags = min_created_tags { | |
some resource_type | |
min_created_tags := created_tags[resource_type] | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package terraform.analysis | |
import input as tfplan | |
resource_types = {"aws_db_instance"} | |
minimum_tags = min_tags { | |
some resource_type | |
#min_created_tags := created_tags[resource_type] | |
min_modified_tags := modified_tags[resource_type] |