aws / chalice

Python Serverless Microframework for AWS
Apache License 2.0
10.61k stars 1.01k forks source link

Replace null resource in terraform template with locals to fix warning #2068

Open Matt343 opened 1 year ago

Matt343 commented 1 year ago

Fixes #1874

This replaces the null_data_source used in the terraform template with locals.

It is a breaking change for anyone who was using the old values in their templates. I can change this to just the addition of the locals if we prefer to avoid the API change for now, that would at least give people an alternative although it would not resolve the warning yet.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.