Skip to content

Commit

Permalink
refa(lab2): clean up documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
HenrikFricke committed May 10, 2022
1 parent a5c1fd3 commit 1500afa
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
10 changes: 10 additions & 0 deletions 2-modules/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ In the first lab, we bootstrapped Terraform and got familiar with the very basic
```tf
terraform {
required_version = "~> 1.1.7"
backend "s3" {
key = "terraform.tfstate"
region = "eu-west-1"
}
}
provider "aws" {
Expand Down Expand Up @@ -78,6 +83,11 @@ That's it for the Lambda function. Let's go to the API Gateway.
```tf
terraform {
required_version = "~> 1.1.7"
backend "s3" {
key = "terraform.tfstate"
region = "eu-west-1"
}
}
provider "aws" {
Expand Down
5 changes: 5 additions & 0 deletions 2-modules/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ terraform {

provider "aws" {
region = "eu-west-1"

backend "s3" {
key = "terraform.tfstate"
region = "eu-west-1"
}
}

data "aws_caller_identity" "current" {}
Expand Down

0 comments on commit 1500afa

Please sign in to comment.