package aws import ( "fmt" "testing" "github.com/hashicorp/terraform/helper/resource" "github.com/hashicorp/terraform/terraform" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/service/opsworks" ) ////////////////////////////////////////////////// //// Helper configs for the necessary IAM objects ////////////////////////////////////////////////// var testAccAwsOpsworksStackIamConfig = ` resource "aws_iam_role" "opsworks_service" { name = "terraform_testacc_opsworks_service" assume_role_policy = < 0 { return fmt.Errorf("Expected all resources to be gone, but found: %#v", s.RootModule().Resources) } return nil }