Skip to content

Instantly share code, notes, and snippets.

View myoung34's full-sized avatar

myoung34 myoung34

View GitHub Profile
{
"format_version": "0.1",
"terraform_version": "0.12.9",
"variables": {
"region": {
"value": "us-east-1"
}
},
"planned_values": {
"root_module": {
esphome:
name: matrix
platform: ESP8266
board: esp01_1m
web_server:
port: 80
wifi:
ssid: !secret wifi_ssid
esphome:
name: matrix
platform: ESP8266
board: esp01_1m
web_server:
port: 80
wifi:
ssid: !secret wifi_ssid
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];}))
^
packages:
yum:
nginx: []
Resources:
AWSEBLoadBalancer:
Type: "AWS::ElasticLoadBalancing::LoadBalancer"
Properties:
HealthCheck:
HealthyThreshold: "3"
$ cat tfplan.json | conftest test -
2 tests, 2 passed, 0 warnings, 0 failure
$ 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
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]
}
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]
}
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]