Update terraform to use instance profile
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 52s
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 52s
This commit is contained in:
20
terraform/providers.tf
Normal file
20
terraform/providers.tf
Normal file
@ -0,0 +1,20 @@
|
||||
provider "aws" {
|
||||
region = "us-east-2"
|
||||
}
|
||||
|
||||
variable "EC2_INSTANCE_ID" {
|
||||
description = "ID of the EC2 instance"
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "ASSUME_ROLE_POLICY" {
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "EC2_POLICY" {
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "ACCOUNT_ROOT_ARN" {
|
||||
type = string
|
||||
}
|
||||
Reference in New Issue
Block a user