This file contains 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
#!/usr/bin/perl -w | |
use strict; | |
use JSON -support_by_pp; | |
use Data::Dumper; | |
# Don't forget to login to vault first | |
sub rec { | |
my ($path) = @_; | |
my $json = JSON->new->pretty; |
This file contains 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 "bigip" {} | |
resource "bigip_ltm_node" "node" { | |
name = "/Common/10.2.0.2" | |
address = "10.2.0.2" | |
} | |
resource "bigip_ltm_pool" "pool" { | |
name = "/Common/my-pool" | |
monitors = ["/Common/http"] |
This file contains 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
apiVersion: networking.istio.io/v1alpha3 | |
kind: DestinationRule | |
metadata: | |
name: nfs-web | |
spec: | |
host: nfs-web-svc | |
trafficPolicy: | |
loadBalancer: | |
simple: RANDOM | |
--- |
This file contains 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 "helm" { | |
kubernetes { | |
host = "https://ww.xx.yy.zz" | |
username = "root-retail" | |
password = "mouahahaa" | |
} | |
} | |
provider "kubernetes" { | |
host = "https://ww.xx.yy.zz" |
This file contains 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 ( | |
"context" | |
"fmt" | |
"log" | |
"net/url" | |
"github.com/vmware/govmomi" | |
"github.com/vmware/govmomi/find" |
This file contains 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
#!/bin/bash | |
while IFS= read -r provider | |
do | |
VERSION=`curl -s https://releases.hashicorp.com/${provider}/ | egrep -oh 'terraform-provider-[a-z0-9]+/[0-9\.]+' | sort | uniq | tail -n1` | |
FILENAME=`echo $VERSION | sed 's;/;_;g'` | |
echo "https://releases.hashicorp.com/${VERSION}/${FILENAME}_linux_amd64.zip" | |
wget -O "/usr/local/terraform/toolbox/providers/${FILENAME}_linux_amd64.zip" "https://releases.hashicorp.com/${VERSION}/${FILENAME}_linux_amd64.zip" | |
done < <(curl -s https://releases.hashicorp.com/ | egrep -oh 'terraform-provider-[a-z0-9]+' | sort | uniq) | |
find /usr/local/terraform/toolbox/providers/ -name '*.zip' -exec unzip -o -d /usr/local/terraform/toolbox/providers/ {} \; | |
find /usr/local/terraform/toolbox/providers/ -name '*.zip' -exec rm -f {} \; |
This file contains 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
var.app_security_audit_passed | |
Enter a value: true | |
null_resource.ips_whitelist: Refreshing state... (ID: 4995369097748485300) | |
null_resource.ips_whitelist_infos: Refreshing state... (ID: 5103843319032705965) | |
aws_security_group.sg.0: Refreshing state... (ID: sg-99cb4be1) | |
aws_security_group.sg.1: Refreshing state... (ID: sg-0bcb4b73) | |
aws_elb.elb: Refreshing state... (ID: test) | |
aws_security_group_rule.allow_from_internet_http.0: Refreshing state... (ID: sgrule-1238533004) | |
aws_security_group_rule.allow_from_internet_http.1: Refreshing state... (ID: sgrule-530970083) |
NewerOlder