Skip to content

Instantly share code, notes, and snippets.

@bsoares
bsoares / main.tf
Last active September 23, 2018 17:33
Terraform Samples - Creates a simple AWS S3 static website with a Route 53 CNAME.
provider "aws" { region = "us-east-1" }
variable "domain" { default = "brunosoares.net" }
variable "subdomain" { default = "terratalk" }
resource "aws_s3_bucket" "app" {
bucket = "${var.subdomain}.${var.domain}"
acl = "public-read"
website { index_document = "index.html" }
}

Keybase proof

I hereby claim:

  • I am bsoares on github.
  • I am bsoares (https://keybase.io/bsoares) on keybase.
  • I have a public key ASC3_56zMtm0V6hL0dPQN77BHSF5R9E-Qn69ZfXp1XWImgo

To claim this, I am signing this object:

/**
* Controller LED RGB
*
* @author Bruno Soares
* @website www.bsoares.com.br
*/
#define START_COLOR_CHAR '^'
#define END_COLOR_CHAR '$'
#define COLOR_SIZE 8
#define PIN_RED 9
/**
* PianoDuino - Arduino
*
* @author Bruno Soares
* @link http://www.bsoares.com.br
* @language Arduino / C++
*/
#define PIN_SELECTOR0 2
#define PIN_SELECTOR1 3
#define PIN_SELECTOR2 4
/**
* Ping Pong with 8x8 Led Dot Matrix on Arduino
*
* @author Bruno Soares
* @website www.bsoares.com.br
*/
#include "TimerOne.h"
#define PIN_LEFT 4
#define PIN_RIGHT 5