Open hvltaj opened 1 month ago
https://github.com/elastic/elastic-serverless-forwarder/blob/befdd23dca45624b10c18c7d17bc30a87e8d1d1a/publish_lambda.sh#L45
In the publishing script version referenced above, the *"$gov"* if statement evaluates to **, so it always returns S3 bucket ARN configured with "aws-us-gov" region.
*"$gov"*
**
I suggest remove $ from the if statement -> *"gov"* or set up gov="gov" before it.
$
*"gov"*
gov="gov"
https://github.com/elastic/elastic-serverless-forwarder/blob/befdd23dca45624b10c18c7d17bc30a87e8d1d1a/publish_lambda.sh#L45
In the publishing script version referenced above, the
*"$gov"*
if statement evaluates to**
, so it always returns S3 bucket ARN configured with "aws-us-gov" region.I suggest remove
$
from the if statement ->*"gov"*
or set upgov="gov"
before it.