Skip to content

Commit

Permalink
Use templatefiles and expose auth token
Browse files Browse the repository at this point in the history
  • Loading branch information
rburchill committed Oct 22, 2024
1 parent cbfd4cf commit 9c14f49
Show file tree
Hide file tree
Showing 8 changed files with 323 additions and 438 deletions.
11 changes: 10 additions & 1 deletion data.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
data "aws_ssm_parameter" "amazon_linux_2023" {
name = "/aws/service/ami-amazon-linux-latest/al2023-ami-kernel-default-x86_64"
}
}

data "http" "auth_token" {
depends_on = [aws_instance.gitea]

method = "GET"
insecure = true
url = "http://${aws_instance.gitea.public_ip}:${var.token_port}/token"
}

Loading

0 comments on commit 9c14f49

Please sign in to comment.