From d760f2102a113d22dff75c4c5bf4867a303758a7 Mon Sep 17 00:00:00 2001 From: Liam Bennett Date: Wed, 8 Feb 2017 12:45:38 +0000 Subject: [PATCH] Latest updates to aws_ssm_document resource. (#11671) A parameter `document_type` and a few more attributes returned based upon the new API. --- .../aws/resource_aws_ssm_association_test.go | 1 + .../aws/resource_aws_ssm_document.go | 64 +++++++-- .../aws/resource_aws_ssm_document_test.go | 132 ++++++++++++++++++ .../aws/r/ssm_document.html.markdown | 17 ++- 4 files changed, 198 insertions(+), 16 deletions(-) diff --git a/builtin/providers/aws/resource_aws_ssm_association_test.go b/builtin/providers/aws/resource_aws_ssm_association_test.go index 42454cd396..6a705164d7 100644 --- a/builtin/providers/aws/resource_aws_ssm_association_test.go +++ b/builtin/providers/aws/resource_aws_ssm_association_test.go @@ -106,6 +106,7 @@ resource "aws_instance" "foo" { resource "aws_ssm_document" "foo_document" { name = "test_document_association-%s", + document_type = "Command" content = <