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

Aurora Enhanced monitoring support #8038

Merged
merged 2 commits into from
Aug 9, 2016

Conversation

arcadiatea
Copy link
Contributor

Add Enable Enhanced Monitoring feature to Aurora instance

@@ -187,6 +187,25 @@ func testAccCheckAWSClusterInstanceExists(n string, v *rds.DBInstance) resource.
}
}

func testAccAWSCluster_with_InstanceEnhancedMonitor(t *testing.T) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you rename this to be TestAccAWSRDSCluster_withInstanceEnhancedMonitor so that a single call will run all tests?

@stack72
Copy link
Contributor

stack72 commented Aug 8, 2016

Hi @arcadiatea

Thanks so much for the PR here. Left you 1 request on the naming

thanks

Paul

@stack72
Copy link
Contributor

stack72 commented Aug 8, 2016

Hi @arcadiatea

So the tests are all named as I mentioned - the internal functions for the tests (e.g. destroy, exists) are named with the lowercase style prefix

P.

@stack72
Copy link
Contributor

stack72 commented Aug 8, 2016

Hi @arcadiatea

just a FYI, I tried to run the tests here:

    testing.go:264: Step 0 error: Error loading configuration: Error loading /var/folders/gd/yv86v7pd1cd5dpzjrw8702k00000gn/T/tf-test105270374/main.tf: Error reading config for aws_rds_cluster_instance[cluster_instances]: aws_iam_role.tf_enhanced_monitor_role: resource variables must be three parts: TYPE.NAME.ATTR in:

        ${aws_iam_role.tf_enhanced_monitor_role}
FAIL
exit status 1
FAIL    github.com/hashicorp/terraform/builtin/providers/aws    3791.034s
make: *** [testacc] Error 1

@stack72 stack72 added enhancement waiting-response An issue/pull request is waiting for a response from the community provider/aws labels Aug 8, 2016
@arcadiatea
Copy link
Contributor Author

@stack72 I have a fix ready. I am running test

@stack72
Copy link
Contributor

stack72 commented Aug 8, 2016

👍

@stack72 stack72 merged commit a6d7980 into hashicorp:master Aug 9, 2016
@stack72
Copy link
Contributor

stack72 commented Aug 9, 2016

Hi @arcadiatea

This LGTM now :)

Thanks!

% make testacc TEST=./builtin/providers/aws TESTARGS='-run=TestAccAWSRDSClusterInstance_'                                   1 ↵ ✹
==> Checking that code complies with gofmt requirements...
/Users/stacko/Code/go/bin/stringer
go generate $(go list ./... | grep -v /terraform/vendor/)
2016/08/09 13:57:50 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAccAWSRDSClusterInstance_ -timeout 120m
=== RUN   TestAccAWSRDSClusterInstance_importBasic
--- PASS: TestAccAWSRDSClusterInstance_importBasic (850.20s)
=== RUN   TestAccAWSRDSClusterInstance_basic
--- PASS: TestAccAWSRDSClusterInstance_basic (825.66s)
=== RUN   TestAccAWSRDSClusterInstance_kmsKey
--- PASS: TestAccAWSRDSClusterInstance_kmsKey (893.25s)
=== RUN   TestAccAWSRDSClusterInstance_disappears
--- PASS: TestAccAWSRDSClusterInstance_disappears (850.60s)
PASS
ok      github.com/hashicorp/terraform/builtin/providers/aws    3419.737s

@arcadiatea arcadiatea deleted the aurora_enhanced_rule branch January 26, 2017 07:51
@ghost
Copy link

ghost commented Apr 17, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Apr 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement provider/aws waiting-response An issue/pull request is waiting for a response from the community
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants