Skip to content

gotchef/aws-util

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aws-tag

Set one or more tags on your ec2 instances using Opsworks

Add the aws-util-chef::aws-tag recipe

Add attributes following the structure below:

{
    "aws-tag": {
        "tags": {
            "role": "hey we have roles again!!",
            "environment": "dev",
        }
    }
}

Requires IAM EC2 instance profile to have a role that allows CreateTags, DescribeTags and DeleteTags.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "Stmt1414976005000",
      "Effect": "Allow",
      "Action": [
        "ec2:CreateTags",
        "ec2:DeleteTags",
        "ec2:DescribeTags"
      ],
      "Resource": [
        "*"
      ]
    }
  ]
}

aws-util::dnsupdate

Attributes

Key Type Description Default
['dnsupdate']['bacon'] Boolean whether to include bacon true

Usage

dnsupdate::default

Include dnsupdate in your node's run_list:

{
  "run_list": [
    "recipe[aws-util::dnsupdate]"
  ]
}

IAM User Policy

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "Stmt1403515694000",
      "Effect": "Allow",
      "Action": [
        "route53:ChangeResourceRecordSets",
        "route53:GetHostedZone",
        "route53:ListResourceRecordSets"
      ],
      "Resource": [
        "arn:aws:route53:::hostedzone/<insert your hosted zone ID>"
      ]
    }
  ]
}

License and Authors

Author:: YOUR_NAME (<YOUR_EMAIL>)

About

Chef Recipes for working with AWS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages