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

provider/aws: Refresh aws_cloudwatch_event_target from state on ResourceNotFoundException #8442

Merged
merged 2 commits into from
Aug 24, 2016

Conversation

stack72
Copy link
Contributor

@stack72 stack72 commented Aug 24, 2016

Fixes #6928

@radeksimko FYI :)

% make testacc TEST=./builtin/providers/aws TESTARGS='-run=TestAccAWSCloudWatchEventTarget_'
==> Checking that code complies with gofmt requirements...
/Users/stacko/Code/go/bin/stringer
go generate $(go list ./... | grep -v /terraform/vendor/)
2016/08/24 12:59:14 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAccAWSCloudWatchEventTarget_ -timeout 120m
=== RUN   TestAccAWSCloudWatchEventTarget_basic
--- PASS: TestAccAWSCloudWatchEventTarget_basic (39.44s)
=== RUN   TestAccAWSCloudWatchEventTarget_missingTargetId
--- PASS: TestAccAWSCloudWatchEventTarget_missingTargetId (23.18s)
=== RUN   TestAccAWSCloudWatchEventTarget_full
--- PASS: TestAccAWSCloudWatchEventTarget_full (104.07s)
PASS
ok      github.com/hashicorp/terraform/builtin/providers/aws    166.707s

@radeksimko
Copy link
Member

LGTM.

@stack72
Copy link
Contributor Author

stack72 commented Aug 24, 2016

Thanks - just adding the test results for history

@stack72 stack72 merged commit 50556c5 into master Aug 24, 2016
@stack72 stack72 deleted the aws-cloudwatch-event-target-refresh branch August 24, 2016 12:02
richardbowden pushed a commit to richardbowden/terraform that referenced this pull request Aug 27, 2016
…sourceNotFoundException` (hashicorp#8442)

* provider/aws: Refresh `aws_cloudwatch_event_target` from state on
`ResourceNotFoundException`

Fixes hashicorp#6928

@radeksimko FYI :)

* Update resource_aws_cloudwatch_event_target.go
@ghost
Copy link

ghost commented Apr 23, 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 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

aws_cloudwatch_event_target - Getting around ResourceNotFoundException
2 participants