Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update Usage Example in Readme. #2

Closed
AyushJakhmola opened this issue Feb 13, 2023 · 1 comment
Closed

update Usage Example in Readme. #2

AyushJakhmola opened this issue Feb 13, 2023 · 1 comment

Comments

@AyushJakhmola
Copy link

I used this module to create key-pair and found that the example in read me is not working properly.

module "key_pair" {
  source = "squareops/keypair/aws"

  environment   = production
  key_name      = example-key
  ssm_parameter = production-example-key
}

got Error: unsupported argument and Error: Invalid reference.

Please update the key ssm_parameter to ssm_parameter_path and add "" (double quoted) in values as follows:

module "key_pair" {
  source = "squareops/keypair/aws"

  environment   = "production"
  key_name      = "example-key"
  ssm_parameter_path = "production-example-key"
}

I have tested the above module and it is working fine now.

@nitin-yadav-sq
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants