Compare commits
2 Commits
9d5035af79
...
d682b4a8ef
| Author | SHA1 | Date | |
|---|---|---|---|
| d682b4a8ef | |||
| 91e7f55c42 |
@@ -27,5 +27,5 @@ resource "aws_iam_user_policy_attachment" "attachment" {
|
||||
}
|
||||
|
||||
resource "aws_iam_access_key" "gitea_boot_key" {
|
||||
user = aws_iam_user.gitea_boot_user.name
|
||||
user = aws_iam_user.gitea_boot_user.name
|
||||
}
|
||||
|
||||
@@ -1,29 +1,29 @@
|
||||
output "public_instance_id" {
|
||||
value = aws_instance.public.id
|
||||
value = aws_instance.public.id
|
||||
description = "The instance ID (`i-*****************`) of the reverse proxy."
|
||||
}
|
||||
|
||||
output "private_instance_id" {
|
||||
value = aws_instance.private.id
|
||||
value = aws_instance.private.id
|
||||
description = "The instance ID of the Gitea instance."
|
||||
}
|
||||
|
||||
output "runner_instance_id" {
|
||||
value = aws_instance.runner.id
|
||||
value = aws_instance.runner.id
|
||||
description = "The instance ID of the Gitea runner."
|
||||
}
|
||||
|
||||
output "private_instance_ip" {
|
||||
value = aws_instance.private.private_ip
|
||||
value = aws_instance.private.private_ip
|
||||
description = "The private IP (not accessible from internet) of the Gitea instnace."
|
||||
}
|
||||
|
||||
output "gitea_boot" {
|
||||
value = {
|
||||
id = aws_iam_access_key.gitea_boot_key.id
|
||||
id = aws_iam_access_key.gitea_boot_key.id
|
||||
secret = aws_iam_access_key.gitea_boot_key.secret
|
||||
region = var.region
|
||||
}
|
||||
description = "The credentials to manipulate the codebase repository boot."
|
||||
sensitive = true
|
||||
sensitive = true
|
||||
}
|
||||
@@ -16,8 +16,8 @@ variable "roles" {
|
||||
variable "gitea_boot" {
|
||||
type = object({
|
||||
bucket = string
|
||||
key = string
|
||||
role = string
|
||||
key = string
|
||||
role = string
|
||||
})
|
||||
description = "The storage for the Gitea instance."
|
||||
}
|
||||
Reference in New Issue
Block a user