Skip to content

Commit

Permalink
Add role arn (GoogleCloudPlatform#5619)
Browse files Browse the repository at this point in the history
* Adds support for role_arn for storage_transfer_job

* Fix syntax error

* Fix build error.

* Adds ExactlyOneOf check.

Co-authored-by: Joseph Cox <[email protected]>
  • Loading branch information
2 people authored and lcaggio committed Mar 18, 2022
1 parent 3bd166d commit 44ba0b1
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ var (
"transfer_spec.0.aws_s3_data_source.0.aws_access_key",
"transfer_spec.0.aws_s3_data_source.0.role_arn",
}
awsS3AuthKeys = []string{
"transfer_spec.0.aws_s3_data_source.0.aws_access_key",
"transfer_spec.0.aws_s3_data_source.0.role_arn",
}
)

func resourceStorageTransferJob() *schema.Resource {
Expand Down

0 comments on commit 44ba0b1

Please sign in to comment.