Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate away from depreciated hashicorp/template #41

Closed
joshgarde opened this issue Aug 30, 2024 · 0 comments · Fixed by #46
Closed

Migrate away from depreciated hashicorp/template #41

joshgarde opened this issue Aug 30, 2024 · 0 comments · Fixed by #46

Comments

@joshgarde
Copy link
Member

joshgarde commented Aug 30, 2024

Blocker for macOS Terraform deployments; migrate this data block

data "template_file" "workflow_definition" {
template = file("${path.module}/state_machine_definition.tpl")
vars = {
GetDatasetConfigurationLambda = aws_lambda_function.get_dataset_configuration.arn,
ConfigBucket = var.config_bucket,
ConfigDir = var.config_dir,
GetGranuleUmmJsonLambda = aws_lambda_function.get_granule_umm_json.arn,
IdentifyImageFileLambda = aws_lambda_function.identify_image_file.arn,
ApplyOperaHLSTreatmentLambda = aws_lambda_function.apply_opera_hls_treatment.arn,
GetCollectionConceptIdLambda = aws_lambda_function.get_collection_concept_id.arn,
SubmitHarmonyJobLambda = aws_lambda_function.submit_harmony_job.arn,
GetHarmonyJobStatusLambda = aws_lambda_function.get_harmony_job_status.arn,
CopyHarmonyOutputToS3Lambda = aws_lambda_function.copy_harmony_output_to_s3.arn,
GenerateImageMetadataLambda = aws_lambda_function.generate_image_metadata.arn,
BuildImageSetsLambda = aws_lambda_function.build_image_sets.arn,
SendToGITCLambda = aws_lambda_function.send_to_gitc.arn,
SaveCNMMessageLambda = aws_lambda_function.save_cnm_message.arn,
PobitAuditBucket = var.pobit_audit_bucket,
PobitAuditPath = var.pobit_audit_path
}
}
away from the hashicorp/template module and over to the templatefile function

hashicorp/template has been depreciated for 4 years now and does not have ARM builds for other platforms. See https://registry.terraform.io/providers/hashicorp/template/latest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant