Patricio Navarro
07/25/2024, 1:53 PMprefect block types inspect s3-bucket
gives no help 😕 .
It's not clear how to create a s3-bucket block linked to an aws-credential block.
I tried different approach but non of them is working.
This is my code:
resource "prefect_block" "block_aws_credentials_prod" {
name = "test-credentials"
type_slug = "aws-credentials"
data = jsonencode({
"aws_access_key_id" = "XXXXX",
"aws_secret_access_key" = ""
})
}
resource "prefect_block" "block_s3_wsf_event_data" {
name = "test-bucket"
type_slug = "s3-bucket"
data = jsonencode({
"bucket_name" = "wsf-event-data"
"credentials" = prefect_block.block_aws_credentials_prod.data
})
}
Does anybody have a good idea of how to solve it?
thanks.Patricio Navarro
07/30/2024, 10:38 AMLuke Orland
08/07/2024, 11:48 PMprefect block types inspect <block-type-slug>
does not show the schema as advertised. I've tried referencing the <http://prefect_block.my|prefect_block.my>_block.id
and just <http://prefect_block.my|prefect_block.my>_block
, but neither worked.Luke Orland
08/08/2024, 12:00 AM.name
as the reference between blocks.Nate
08/08/2024, 12:07 AMPatricio Navarro
08/08/2024, 9:30 AMLuke Orland
08/08/2024, 9:38 PM