![]() $regex = "(?<=aws_setup_prod1/output/s3_bucket_kinesis_s3_enriched_id:).*" $returnedString = consul kv get -recurse customer/$consulName | Select-String -pattern $regex $streamingBucket = $returnedString.matches. I am getting the URL of the s3 bucket that is preceded by aws_setup_prod1/output/s3_bucket_kinesis_s3_enriched_id: with Hashicorp Consul in this way (and copy to clipboard for efficiency). ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |