Skip to content

Instantly share code, notes, and snippets.

oci cloud-guard resource-type-summary list-resource-types
{
"data": {
"items": [
{
"display-name": "BlockVolume",
"name": "BlockVolume",
"rules": null
},
{
@BeardedCloudWalker
BeardedCloudWalker / sg-poller.sh
Created October 3, 2019 00:07
Pull Spreadsheet of Security group Rules and associated Instances
#!/bin/bash
export AWS_PROFILE=$1
export AWS_DEFAULT_REGION=$2
export AWS_DEFAULT_OUTPUT=text
echo " It Starts..."
echo " Evaluating Security Groups Ingress Rules"
@BeardedCloudWalker
BeardedCloudWalker / Dockerfile
Last active October 30, 2019 15:29
Jenkins Docker file that can build Docker images
from jenkins/jenkins:2.190.2
# Distributed Builds plugins
RUN /usr/local/bin/install-plugins.sh ssh-slaves
RUN /usr/local/bin/install-plugins.sh workflow-aggregator
RUN /usr/local/bin/install-plugins.sh docker-plugin
# install Notifications and Publishing plugins
RUN /usr/local/bin/install-plugins.sh email-ext
@BeardedCloudWalker
BeardedCloudWalker / aurora_cluster.tf
Last active February 13, 2019 19:52 — forked from sandcastle/aurora_cluster.tf
Creates a AWS RDS Aurora Cluster with Terraform
########################
## Variables
########################
variable "environment_name" {
description = "The name of the environment"
}
variable "vpc_id" {
@BeardedCloudWalker
BeardedCloudWalker / basic_vpc.yaml
Last active January 8, 2018 15:05
This template deploys a VPC, with a pair of public and private subnets spread across two Availabilty Zones. It deploys an Internet Gateway, with a default route on the public subnets. It deploys a pair of NAT Gateways (one in each AZ), and default routes for them in the private subnets. This also adds a S3 VPC Endpoint for local VPC access to S3
Description: >
This template deploys a VPC, with a pair of public and private subnets spread
across two Availabilty Zones. It deploys an Internet Gateway, with a default
route on the public subnets. It deploys a pair of NAT Gateways (one in each AZ),
and default routes for them in the private subnets. This also adds a S3 VPC
Endpoint for local VPC access to S3
Parameters:
EnvironmentName:
AWSTemplateFormatVersion: '2010-09-09'
Description: Create an Apache webserver with a webpage.
Parameters:
InstanceType:
Description: Type of EC2 instance to launch
Type: String
Default: t1.micro
VPCId:
Description: VPC Id to put the Security Group
Type: String