Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions 00_terraform.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,13 @@
terraform {
required_version = "> 0.9.0"

/*backend "s3" {
backend "s3" {
region = "us-east-1"
bucket = "codeship-pro-terraform-state"
key = "codeship-pro-terraform.tfstate"
acl = "private"
encrypt = "true"
kms_key_id = ""
lock = "true"
kms_key_id = "arn:aws:kms:us-east-1:870119404647:key/365c1a98-3e6c-46ca-a502-0238d36671af"
lock_table = "codeship-pro-terraform-lock"
}*/
}
}
4 changes: 2 additions & 2 deletions 01_aws.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ resource "aws_s3_bucket" "remote-state-bucket" {
enabled = true

noncurrent_version_transition {
days = 7
days = 30
storage_class = "STANDARD_IA"
}

noncurrent_version_expiration {
days = 28
days = 60
}
}

Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Codeship Pro, Terraform Example

[ ![Codeship Status for codeship-experimental/codeship-docker-terraform](https://app.codeship.com/projects/c4497440-fb32-0134-b168-721cf569a862/status?branch=master)](https://app.codeship.com/projects/211443)

This sample repository details the steps necessary to get started with [terraform](https://terraform.io) on Codeship Pro.

**It is in experimental state right now and might not work for every setup.**
Expand Down
1 change: 1 addition & 0 deletions env.encrypted
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
AIbSJK0nCi7MdqBGV4t9qtfsXht2a6QBIhHhQQSjJYA09hk0q87QSMT/LHrdLj2ktUD56oUsJc4IePGm2RKhaG5n4ZRB+hHGANvQkMTCKkGXVQuDYIdWOhs9/zrJsDagoCfD6pjA9IWiVa+LtfBfQd08zF5apZtfP43C/dpJbHDuGry2CkEU8U2IONWXk96S6RgRMPhEpetZ55/KbTvZuU2v1DGmm1KIUVzj35Y9Omx8aoyEMEmDQJrE6hDSmNkM5u1V3bESAAbDSEZFYda+kt49lDoAt/A0tfShO+oUR898YMhqNCk24PpujcneXMsw8y3CCQMgDau6YkseyrrCCMyj1SmpqPrpeZYK9noz3uQjOM3ijukIg+ERtGiRL+cLmLNXFPdUwZhYCNLFHSqrJ8odHmPBAeLG9s0y2w8loPmSU8VJm/dL6Q==