starhawking / python-terrascript

Create Terraform files using Python scripts.
BSD 2-Clause "Simplified" License
515 stars 76 forks source link

Support new AWS resource `aws_kms_grant' #47

Closed nbommu1 closed 6 years ago

nbommu1 commented 6 years ago

terraform-provider-aws version 1.22.0 supports aws_kms_grants (https://www.terraform.io/docs/providers/aws/r/kms_grant.html), but Terrascript doesn't seem to know about it:

Traceback (most recent call last): File "./terrascript-nonprod.py", line 84, in ts += terrascript.aws.r.kms_grant\ AttributeError: module 'terrascript.aws.r' has no attribute 'kms_grant'

nbommu1 commented 6 years ago

PR for this, https://github.com/mjuenema/python-terrascript/pull/49

mjuenema commented 6 years ago

This has been implemented in #51.