github.com/inteleradmedicalsystems/go-codecommit@v0.1.0/tests/terraform/main.tf (about)

     1  data "aws_caller_identity" "current" {}
     2  
     3  resource "aws_codecommit_repository" "repo" {
     4    repository_name = "${var.repository_name}"
     5    description     = "Test codecommit credential helper"
     6    default_branch  = "master"
     7  }
     8  
     9  provider "aws" {
    10    region  = "${var.region}"
    11    version = "~> 1.37"
    12  
    13    #assume_role {
    14    #  role_arn = "${lookup(var.roles, var.environment)}"
    15    #}
    16  }
    17  
    18  terraform = {
    19    required_version = ">=0.11.7"
    20  }