Skip to content

Commit

Permalink
chore: Rename infra directory to example, move pod.yaml to proj…
Browse files Browse the repository at this point in the history
…ect root
  • Loading branch information
bryantbiggs committed May 30, 2024
1 parent ed04f98 commit e94b84d
Show file tree
Hide file tree
Showing 9 changed files with 3 additions and 2 deletions.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions infra/ecr.tf → example/ecr.tf
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ resource "local_file" "build_script" {
# Update the pod manifest with the new image tag
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
sed -i "s|image:.*|image: ${module.ecr.repository_url}:$${TAG}|g" infra/pod.yaml
sed -i "s|image:.*|image: ${module.ecr.repository_url}:$${TAG}|g" ./pod.yaml
elif [[ "$OSTYPE" == "darwin"* ]]; then
sed -i '' "s|image:.*|image: ${module.ecr.repository_url}:$${TAG}|g" infra/pod.yaml
sed -i '' "s|image:.*|image: ${module.ecr.repository_url}:$${TAG}|g" ./pod.yaml
else
echo "Unsupported OS: $OSTYPE"
exit 1
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions infra/variables.tf → example/variables.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
variable "role_arn" {
description = "The ARN of the role to assume in the secondary account to provision resources ('account_b' IAM role)"
type = string
default = "arn:aws:iam::361548816046:role/terraform"
}
File renamed without changes.
File renamed without changes.

0 comments on commit e94b84d

Please sign in to comment.