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

r/gamelift_build - import + object_version support #22966

Merged
merged 4 commits into from
Feb 11, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
wait for iam
  • Loading branch information
DrFaust92 committed Feb 5, 2022

Verified

This commit was signed with the committer’s verified signature. The key has expired.
tvdeyen Thomas von Deyen
commit f2a7202a60f585093d37a8e07ed97f85760f424a
3 changes: 2 additions & 1 deletion internal/service/gamelift/build.go
Original file line number Diff line number Diff line change
@@ -109,7 +109,8 @@ func resourceBuildCreate(d *schema.ResourceData, meta interface{}) error {
var err error
out, err = conn.CreateBuild(&input)
if err != nil {
if tfawserr.ErrMessageContains(err, gamelift.ErrCodeInvalidRequestException, "Provided build is not accessible.") {
if tfawserr.ErrMessageContains(err, gamelift.ErrCodeInvalidRequestException, "Provided build is not accessible.") ||
tfawserr.ErrMessageContains(err, gamelift.ErrCodeInvalidRequestException, "GameLift cannot assume the role") {
return resource.RetryableError(err)
}
return resource.NonRetryableError(err)