diff --git a/docs/resources/logpush_job.md b/docs/resources/logpush_job.md index 386f231ef5..481e621501 100644 --- a/docs/resources/logpush_job.md +++ b/docs/resources/logpush_job.md @@ -74,6 +74,7 @@ data "aws_s3_bucket_object" "challenge_file" { } resource "cloudflare_logpush_job" "example_job" { + depends_on = [cloudflare_logpush_ownership_challenge.ownership_challenge] enabled = true zone_id = "0da42c8d2132a9ddaf714f9e7c920711" name = "My-logpush-job" diff --git a/examples/resources/cloudflare_logpush_job/resource.tf b/examples/resources/cloudflare_logpush_job/resource.tf index cb95e33f60..19339beaa4 100644 --- a/examples/resources/cloudflare_logpush_job/resource.tf +++ b/examples/resources/cloudflare_logpush_job/resource.tf @@ -45,6 +45,7 @@ data "aws_s3_bucket_object" "challenge_file" { } resource "cloudflare_logpush_job" "example_job" { + depends_on = [cloudflare_logpush_ownership_challenge.ownership_challenge] enabled = true zone_id = "0da42c8d2132a9ddaf714f9e7c920711" name = "My-logpush-job"