didnt work . Source has to go inside build {} .
Please paste a tested code .
Error: Missing required argument
│
│ with google_cloudbuild_trigger.namefilniltrig,
│ on manual.tf line 284, in resource “google_cloudbuild_trigger” “namefilniltrig”:
│ 284: resource “google_cloudbuild_trigger” “namefilniltrig” {
│
│ “github”: one of bitbucket_server_trigger_config,github,pubsub_config,repository_event_config,source_to_build,trigger_template,webhook_config
must be
│ specified
╵
╷
│ Error: Missing required argument
│
│ with google_cloudbuild_trigger.namefilniltrig,
│ on manual.tf line 284, in resource “google_cloudbuild_trigger” “namefilniltrig”:
│ 284: resource “google_cloudbuild_trigger” “namefilniltrig” {
│
│ “bitbucket_server_trigger_config”: one of
│ bitbucket_server_trigger_config,github,pubsub_config,repository_event_config,source_to_build,trigger_template,webhook_config
must be specified
╵
╷
│ Error: Missing required argument
│
│ with google_cloudbuild_trigger.namefilniltrig,
│ on manual.tf line 284, in resource “google_cloudbuild_trigger” “namefilniltrig”:
│ 284: resource “google_cloudbuild_trigger” “namefilniltrig” {
│
│ “trigger_template”: one of bitbucket_server_trigger_config,github,pubsub_config,repository_event_config,source_to_build,trigger_template,webhook_config
│ must be specified
╵
╷
│ Error: Missing required argument
│
│ with google_cloudbuild_trigger.namefilniltrig,
│ on manual.tf line 284, in resource “google_cloudbuild_trigger” “namefilniltrig”:
│ 284: resource “google_cloudbuild_trigger” “namefilniltrig” {
│
│ “webhook_config”: one of bitbucket_server_trigger_config,github,pubsub_config,repository_event_config,source_to_build,trigger_template,webhook_config
│ must be specified
╵
╷
│ Error: Missing required argument
│
│ with google_cloudbuild_trigger.namefilniltrig,
│ on manual.tf line 284, in resource “google_cloudbuild_trigger” “namefilniltrig”:
│ 284: resource “google_cloudbuild_trigger” “namefilniltrig” {
│
│ “pubsub_config”: one of bitbucket_server_trigger_config,github,pubsub_config,repository_event_config,source_to_build,trigger_template,webhook_config
│ must be specified
╵
╷
│ Error: Missing required argument
│
│ with google_cloudbuild_trigger.namefilniltrig,
│ on manual.tf line 284, in resource “google_cloudbuild_trigger” “namefilniltrig”:
│ 284: resource “google_cloudbuild_trigger” “namefilniltrig” {
│
│ “repository_event_config”: one of
│ bitbucket_server_trigger_config,github,pubsub_config,repository_event_config,source_to_build,trigger_template,webhook_config
must be specified
╵
╷
│ Error: Missing required argument
│
│ with google_cloudbuild_trigger.namefilniltrig,
│ on manual.tf line 284, in resource “google_cloudbuild_trigger” “namefilniltrig”:
│ 284: resource “google_cloudbuild_trigger” “namefilniltrig” {
│
│ “source_to_build”: one of bitbucket_server_trigger_config,github,pubsub_config,repository_event_config,source_to_build,trigger_template,webhook_config
│ must be specified