riboseinc / aws-authenticating-secgroup-scripts

Scripts to use riboseinc/terraform-aws-authenticating-secgroup
Apache License 2.0
32 stars 28 forks source link

Consolidate all the .sh files into a single one #11

Closed erikbor closed 6 years ago

erikbor commented 6 years ago

Hi @phuonghuynh,

Could you please consolidate all the .sh files into a single one? We are integrating your script in our workflow for authenticating against the Lambda endpoint for dynamic secgroups and IAM groups. Your scripts now directly source __invoke_it__.sh assuming it's in the cwd:

#!/bin/bash

. __invoke_it__.sh

invoke_it "POST"

This requires us to cd into that directory first. It would be much easier for integration if we can call a single script using an absolute path.

Thanks

phuonghuynh commented 6 years ago

Yes