Firefly States Redactor
Last updated
Was this helpful?
Was this helpful?
helm repo add firefly-redactor https://gofireflyio.github.io/states-redactor
helm install states-redactor firefly-redactor/firefly-redactor -f values.yaml --namespace=firefly --create-namespaceserviceAccount:
annotations: {
"gofirefly.io/component": firefly-redactor,
"eks.amazonaws.com/role-arn": aws:aws:iam::123456789:role/my-role
}
firefly:
accountId: GIVEN-BY-FIREFLY
crawlerId: GIVEN-BY-FIREFLY
location:
tfc:
organization: example
address: example-tfc-enteprise.com
type: tfc
credentials:
tfcToken: MY-ORGANIZATION-TOKEN
tfcCustomDomain: https://example-tfc-enteprise.com
redactorMirrorBucketName: my-mirror-bucket
redactorMirrorBucketRegion: us-east-1
logging:
remoteHash: GIVEN-BY-FIREFLYserviceAccount:
annotations: {
"gofirefly.io/component": firefly-redactor,
"eks.amazonaws.com/role-arn": aws:aws:iam::123456789:role/my-role
}
firefly:
accountId: GIVEN-BY-FIREFLY
crawlerId: GIVEN-BY-FIREFLY
location:
s3:
isLocal: true
bucket: my-bucket
region: us-east-1
type: s3
redactorMirrorBucketName: my-mirror-bucket
redactorMirrorBucketRegion: us-east-1
logging:
remoteHash: GIVEN-BY-FIREFLYmodule "states-redactor-ecs" {
source = "github.com/gofireflyio/states-redactor//terraform/ecs"
aws_region = "us-west-2"
firefly_account_id = "<ACCOUNT_ID>" // Given by Firefly
firefly_crawler_id = "<CRAWLER_ID>" // Given by Firefly
firefly_remote_log_hash = "<REMOTE_LOG_HASH>" // Given by Firefly
redacted_bucket_name = "tfstate-target-bucket"
source_bucket_name = "tfstate-source-bucket"
source_bucket_region = "us-west-2"
container_cpu = 256
container_memory = 512
schedule_expression = "rate(2 hours)"
security_groups = ["sg-1234"]
subnets = ["subnet-1234", "subnet-5678"]
assign_public_ip = false // If false, add VPC endpoints to reach the ECR
ecs_cluster_arn = "arn:aws:ecs:us-west-2:0123456789:cluster/firefly-states-redactor" // If empty, will create a cluster
}