$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. The positive lookbehind syntax is (
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |