Skip to content

Commit

Permalink
Rename code samples repo
Browse files Browse the repository at this point in the history
  • Loading branch information
brikis98 committed May 31, 2024
1 parent 2dbc307 commit 457d31b
Show file tree
Hide file tree
Showing 22 changed files with 154 additions and 156 deletions.
4 changes: 2 additions & 2 deletions ch2/tofu/live/sample-app-github/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ provider "aws" {
}

module "sample_app_1" {
source = "github.com/brikis98/fundamentals-of-devops-code//ch2/tofu/modules/ec2-instance"
source = "github.com/brikis98/devops-book//ch2/tofu/modules/ec2-instance"

# TODO: fill in with your own AMI ID!
ami_id = "ami-09a9ad4735def0515"
Expand All @@ -12,7 +12,7 @@ module "sample_app_1" {
}

module "sample_app_2" {
source = "github.com/brikis98/fundamentals-of-devops-code//ch2/tofu/modules/ec2-instance"
source = "github.com/brikis98/devops-book//ch2/tofu/modules/ec2-instance"

# TODO: fill in with your own AMI ID!
ami_id = "ami-09a9ad4735def0515"
Expand Down
4 changes: 2 additions & 2 deletions ch3/tofu/live/asg-sample/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ provider "aws" {
}

module "asg" {
source = "github.com/brikis98/fundamentals-of-devops-code//ch3/tofu/modules/asg"
source = "github.com/brikis98/devops-book//ch3/tofu/modules/asg"

name = "sample-app-asg"

Expand All @@ -27,7 +27,7 @@ module "asg" {
}

module "alb" {
source = "github.com/brikis98/fundamentals-of-devops-code//ch3/tofu/modules/alb"
source = "github.com/brikis98/devops-book//ch3/tofu/modules/alb"

name = "sample-app-alb"
alb_http_port = 80
Expand Down
2 changes: 1 addition & 1 deletion ch3/tofu/live/ecr-sample/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ provider "aws" {
}

module "repo" {
source = "github.com/brikis98/fundamentals-of-devops-code//ch3/tofu/modules/ecr-repo"
source = "github.com/brikis98/devops-book//ch3/tofu/modules/ecr-repo"

name = "sample-app"
}
2 changes: 1 addition & 1 deletion ch3/tofu/live/eks-sample/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ provider "aws" {
}

module "cluster" {
source = "github.com/brikis98/fundamentals-of-devops-code//ch3/tofu/modules/eks-cluster"
source = "github.com/brikis98/devops-book//ch3/tofu/modules/eks-cluster"

name = "eks-sample"
eks_version = "1.29"
Expand Down
4 changes: 2 additions & 2 deletions ch3/tofu/live/lambda-sample/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ provider "aws" {
}

module "function" {
source = "github.com/brikis98/fundamentals-of-devops-code//ch3/tofu/modules/lambda"
source = "github.com/brikis98/devops-book//ch3/tofu/modules/lambda"

name = "lambda-sample"

Expand All @@ -20,7 +20,7 @@ module "function" {
}

module "gateway" {
source = "github.com/brikis98/fundamentals-of-devops-code//ch3/tofu/modules/api-gateway"
source = "github.com/brikis98/devops-book//ch3/tofu/modules/api-gateway"

name = "lambda-sample"
function_arn = module.function.function_arn
Expand Down
4 changes: 2 additions & 2 deletions ch4/tofu/live/lambda-sample/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ provider "aws" {
}

module "function" {
source = "github.com/brikis98/fundamentals-of-devops-code//ch3/tofu/modules/lambda"
source = "github.com/brikis98/devops-book//ch3/tofu/modules/lambda"

name = "lambda-sample"

Expand All @@ -20,7 +20,7 @@ module "function" {
}

module "gateway" {
source = "github.com/brikis98/fundamentals-of-devops-code//ch3/tofu/modules/api-gateway"
source = "github.com/brikis98/devops-book//ch3/tofu/modules/api-gateway"

name = "lambda-sample"
function_arn = module.function.function_arn
Expand Down
4 changes: 2 additions & 2 deletions ch5/tofu/live/ci-cd-permissions/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ provider "aws" {
}

module "oidc_provider" {
source = "github.com/brikis98/fundamentals-of-devops-code//ch5/tofu/modules/github-aws-oidc"
source = "github.com/brikis98/devops-book//ch5/tofu/modules/github-aws-oidc"

provider_url = "https://token.actions.githubusercontent.com"
}

module "iam_roles" {
source = "github.com/brikis98/fundamentals-of-devops-code//ch5/tofu/modules/gh-actions-iam-roles"
source = "github.com/brikis98/devops-book//ch5/tofu/modules/gh-actions-iam-roles"

name = "lambda-sample"
oidc_provider_arn = module.oidc_provider.oidc_provider_arn
Expand Down
4 changes: 2 additions & 2 deletions ch5/tofu/live/lambda-sample/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ provider "aws" {
}

module "function" {
source = "github.com/brikis98/fundamentals-of-devops-code//ch3/tofu/modules/lambda"
source = "github.com/brikis98/devops-book//ch3/tofu/modules/lambda"

name = var.name

Expand All @@ -20,7 +20,7 @@ module "function" {
}

module "gateway" {
source = "github.com/brikis98/fundamentals-of-devops-code//ch3/tofu/modules/api-gateway"
source = "github.com/brikis98/devops-book//ch3/tofu/modules/api-gateway"

name = var.name
function_arn = module.function.function_arn
Expand Down
2 changes: 1 addition & 1 deletion ch5/tofu/live/tofu-state/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ provider "aws" {
}

module "state" {
source = "github.com/brikis98/fundamentals-of-devops-code//ch5/tofu/modules/state-bucket"
source = "github.com/brikis98/devops-book//ch5/tofu/modules/state-bucket"

# TODO: fill in your own bucket name!
name = "fundamentals-of-devops-tofu-state"
Expand Down
10 changes: 5 additions & 5 deletions docs/02.html
Original file line number Diff line number Diff line change
Expand Up @@ -1178,7 +1178,7 @@ <h3 id="example_run_sample_app_locally">Example: running the sample app locally<

<div class="paragraph">

<p>As a reminder, you can find all the code examples in the blog post series&#8217;s <a href="https://github.com/brikis98/fundamentals-of-devops-code">sample
<p>As a reminder, you can find all the code examples in the blog post series&#8217;s <a href="https://github.com/brikis98/devops-book">sample

code repo in GitHub</a>.</p>

Expand Down Expand Up @@ -1248,7 +1248,7 @@ <h3 id="example_run_sample_app_locally">Example: running the sample app locally<

<div id="example_node_js_sample_app" class="exampleblock">

<div class="title">Example 1. A Node.js "Hello, World" sample app (<em><a href="https://github.com/brikis98/fundamentals-of-devops-code/blob/main/ch1/sample-app/app.js">ch1/sample-app/app.js</a></em>)</div>
<div class="title">Example 1. A Node.js "Hello, World" sample app (<em><a href="https://github.com/brikis98/devops-book/blob/main/ch1/sample-app/app.js">ch1/sample-app/app.js</a></em>)</div>

<div class="content">

Expand Down Expand Up @@ -2220,7 +2220,7 @@ <h4 id="example_fly_io">Example: deploying an app using Fly.io</h4>

<div id="example_fly_io_config" class="exampleblock">

<div class="title">Example 2. Fly.io config file (<em><a href="https://github.com/brikis98/fundamentals-of-devops-code/blob/main/ch1/sample-app/fly.toml">ch1/sample-app/fly.toml</a></em>)</div>
<div class="title">Example 2. Fly.io config file (<em><a href="https://github.com/brikis98/devops-book/blob/main/ch1/sample-app/fly.toml">ch1/sample-app/fly.toml</a></em>)</div>

<div class="content">

Expand Down Expand Up @@ -2868,7 +2868,7 @@ <h4 id="example_deploy_app_aws">Example: deploying an app using AWS</h4>

<div id="example_ec2_user_data" class="exampleblock">

<div class="title">Example 3. User data script (<em><a href="https://github.com/brikis98/fundamentals-of-devops-code/blob/main/ch1/ec2-user-data-script/user-data.sh">ch1/ec2-user-data-script/user-data.sh</a></em>)</div>
<div class="title">Example 3. User data script (<em><a href="https://github.com/brikis98/devops-book/blob/main/ch1/ec2-user-data-script/user-data.sh">ch1/ec2-user-data-script/user-data.sh</a></em>)</div>

<div class="content">

Expand Down Expand Up @@ -3649,7 +3649,7 @@ <h2 id="_conclusion">Conclusion</h2>

<div id="footer-text">

Last updated 2024-05-28 14:56:24 -0400
Last updated 2024-05-31 11:34:28 -0400

</div>

Expand Down
Loading

0 comments on commit 457d31b

Please sign in to comment.