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": "1.1", | |
"prior_state": { | |
"format_version": "1.0", | |
"values": { | |
"root_module": { | |
"resources": [ | |
{ | |
"values": { | |
"id": "99999999999", |
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
% pulumi up | |
Previewing update (python-dev) | |
View Live: https://app.pulumi.com/omitted | |
Type Name Plan Info | |
+ pulumi:pulumi:Stack eks_test_python-python-dev create 3 errors; 11 messages | |
+ ├─ aws:iam:Role example create | |
+ ├─ aws:ec2:Vpc matt_test_vpc create | |
+ ├─ aws:iam:Role aws-eks-worker-role create |
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
import pulumi | |
import pulumi_eks as eks | |
import pulumi_aws as aws | |
import pulumi_kubernetes as k8s | |
cluster_name = 'matt-test-eks-cluster' | |
node_group_name = 'matt-test-eks-ng' | |
my_public_ip = "X.X.X.X/32" # Replace | |
global_tags = { | |
"Owner": "Matt" |
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
% TF_LOG=1 terraform plan | |
[WARN] Invalid log level: "1". Defaulting to level: TRACE. Valid levels are: [TRACE DEBUG INFO WARN ERROR OFF][WARN] Invalid log level: "1". Defaulting to level: TRACE. Valid levels are: [TRACE DEBUG INFO WARN ERROR OFF]2021-06-15T11:21:57.460-0700 [DEBUG] Adding temp file log sink: /var/folders/7c/v3sltxnx47q5vf84qb7fsk1w0000gp/T/terraform-log083894057 | |
2021-06-15T11:21:57.460-0700 [INFO] Terraform version: 1.0.0 | |
2021-06-15T11:21:57.460-0700 [INFO] Go runtime version: go1.16.4 | |
2021-06-15T11:21:57.460-0700 [INFO] CLI args: []string{"/opt/local/bin/terraform", "plan"} | |
2021-06-15T11:21:57.460-0700 [TRACE] Stdout is a terminal of width 145 | |
2021-06-15T11:21:57.460-0700 [TRACE] Stderr is a terminal of width 145 | |
2021-06-15T11:21:57.460-0700 [TRACE] Stdin is a terminal | |
2021-06-15T11:21:57.460-0700 [DEBUG] Attempting to open CLI config file: /Users/some.user/.terraformrc | |
2021-06-15T11:21:57.460-0700 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. |
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
2021/04/27 16:40:59 [INFO] Terraform version: 0.14.11 | |
2021/04/27 16:40:59 [INFO] Go runtime version: go1.15.6 | |
2021/04/27 16:40:59 [INFO] CLI args: []string{"/opt/local/bin/terraform", "apply", "-auto-approve"} | |
2021/04/27 16:40:59 [DEBUG] Attempting to open CLI config file: /Users/the.username/.terraformrc | |
2021/04/27 16:40:59 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
2021/04/27 16:40:59 [DEBUG] checking for credentials in "/Users/the.username/.terraform.d/plugins" | |
2021/04/27 16:40:59 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins | |
2021/04/27 16:40:59 [DEBUG] will search for provider plugins in /Users/the.username/.terraform.d/plugins | |
2021/04/27 16:40:59 [TRACE] getproviders.SearchLocalDirectory: /Users/the.username/.terraform.d/plugins is a symlink to /Users/the.username/.terraform.d/plugins | |
2021/04/27 16:40:59 [TRACE] getproviders.SearchLocalDirectory: found hashicorp.com/edu/hashicups v0.2.0 for darwin_amd64 at /Users/the.username/.terraform.d/plugins/hashicorp. |
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
provider "aws" { | |
region = "us-west-1" | |
} | |
locals { | |
nat_gws_only_if_igw = {for k, v in local.subnets: | |
k => [ | |
for igw in aws_internet_gateway.gw-vpc: | |
v if igw.tags.Name == "gw-${regex("^(.*).$",v.az)[0]}-${v.vpc_name}" // "gw-us-west-1-vpc1" |
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
FROM ubuntu:20.04 | |
RUN rm /bin/sh && ln -s /bin/bash /bin/sh | |
ENV TZ=America/Los_Angeles | |
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone | |
LABEL maintainer="Matt Warner <[email protected]>" | |
# Install basic CLI tools etc. | |
RUN apt-get update && apt-get install -y --fix-missing --no-install-recommends \ | |
build-essential \ |
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
2020-10-26T11:15:08.307-0700 [DEBUG] plugin.terraform-provider-aws_v3.12.0_x5: 2020/10/26 11:15:08 [DEBUG] [aws-sdk-go] DEBUG: Response ds/CreateMicrosoftAD Details: | |
2020-10-26T11:15:08.307-0700 [DEBUG] plugin.terraform-provider-aws_v3.12.0_x5: ---[ RESPONSE ]-------------------------------------- | |
2020-10-26T11:15:08.307-0700 [DEBUG] plugin.terraform-provider-aws_v3.12.0_x5: HTTP/1.1 200 OK | |
2020-10-26T11:15:08.307-0700 [DEBUG] plugin.terraform-provider-aws_v3.12.0_x5: Connection: close | |
2020-10-26T11:15:08.307-0700 [DEBUG] plugin.terraform-provider-aws_v3.12.0_x5: Content-Length: 30 | |
2020-10-26T11:15:08.307-0700 [DEBUG] plugin.terraform-provider-aws_v3.12.0_x5: Content-Type: application/x-amz-json-1.1 | |
2020-10-26T11:15:08.307-0700 [DEBUG] plugin.terraform-provider-aws_v3.12.0_x5: Date: Mon, 26 Oct 2020 18:15:08 GMT | |
2020-10-26T11:15:08.307-0700 [DEBUG] plugin.terraform-provider-aws_v3.12.0_x5: X-Amzn-Requestid: 33bfd4b5-5855-4c25-a91a-13e3fd19242c | |
2020-10-26T11:15:08.307-0700 [DEBUG] plugin.terraform-provider-aws |