Skip to content

Instantly share code, notes, and snippets.

resource "aws_iam_instance_profile" "beanstalk_service" {
name = "beanstalk-service-user"
roles = ["${aws_iam_role.beanstalk_service.name}"]
}
resource "aws_iam_instance_profile" "beanstalk_ec2" {
name = "beanstalk-ec2-user"
roles = ["${aws_iam_role.beanstalk_ec2.name}"]
}
@ErmisCat
ErmisCat / beanstalk.tf
Created May 3, 2017 18:04 — forked from veqryn/beanstalk.tf
Beanstalk Terraform Module
#--------------------------------------------------------------
# This module creates all resources necessary for a beanstalk
# application and environment
#--------------------------------------------------------------
variable "env_name" {}
variable "vpc_id" {}
variable "beanstalk_solution_stack_name" {}
variable "beanstalk_private_subnets" {}
variable "beanstalk_public_subnets" {}
@ErmisCat
ErmisCat / gist:c1cc3fab06ddc8cb7ecd26466347bc4e
Created November 16, 2016 23:42 — forked from pitch-gist/gist:2999707
HTML: Simple Maintenance Page
<!doctype html>
<title>Site Maintenance</title>
<style>
body { text-align: center; padding: 150px; }
h1 { font-size: 50px; }
body { font: 20px Helvetica, sans-serif; color: #333; }
article { display: block; text-align: left; width: 650px; margin: 0 auto; }
a { color: #dc8100; text-decoration: none; }
a:hover { color: #333; text-decoration: none; }
</style>