Add google_vertex_ai_monitored_agent resource (beta)#18300
Conversation
Adds a new beta resource for the Vertex AI Agent Anomaly Detection (AAD) scope, which defines the Cloud Logging and Observability buckets that AAD monitors for anomalous agent behavior in a location. The resource supports create/read/delete with LRO (async) create and delete; all configurable fields are immutable since the API has no public update method.
Update insert minutes to 40
…attern) Adds a Terraform resource for AAD MonitoredAgent that maps the TF lifecycle to Enable/Disable APIs (same pattern as google_project_service): - Create = EnableMonitoredAgent (POST :enable, sync LRO) - Read = GetMonitoredAgent (DISABLED state = absent from TF) - Delete = DisableMonitoredAgent (POST :disable, sync LRO) - No Update (immutable) Features: - disable_on_destroy field (default true, like google_project_service) - Retry on NOT_FOUND during Enable (Dataplex EntryLink pattern) for agents not yet discovered by the background sync job - Decoder clears TF state when agent state is DISABLED - 3 minute timeouts for enable/disable Part of AAD GA Terraform compliance (b/527074080).
Splitting per modular-magician's request: one resource per PR. MonitoredAgent (enable/disable pattern) will follow in a separate PR after this one merges.
…attern) Adds a Terraform resource for AAD MonitoredAgent that maps the TF lifecycle to Enable/Disable APIs (same pattern as google_project_service): - Create = EnableMonitoredAgent (POST :enable, sync LRO) - Read = GetMonitoredAgent (DISABLED state = absent from TF) - Delete = DisableMonitoredAgent (POST :disable, sync LRO) - No Update (immutable) Features: - disable_on_destroy field (default true, like google_project_service) - Retry on NOT_FOUND during Enable (Dataplex EntryLink pattern) for agents not yet discovered by the background sync job - Decoder clears TF state when agent state is DISABLED - 3 minute timeouts for enable/disable Part of AAD GA Terraform compliance (b/527074080).
|
Googlers: For automatic test runs see go/terraform-auto-test-runs. @slevenick, a repository maintainer, has been assigned to review your changes. If you have not received review feedback within 2 business days, please leave a comment on this PR asking them to take a look. You can help make sure that review is quick by doing a self-review and by running impacted tests locally. |
d6aeb2b to
464bc26
Compare
|
Hi there, I'm the Modular magician. I've detected the following information about your changes for commit 464bc26: Diff reportYour PR generated the following diffs in downstream repositories:
Missing service labelsThe following new resources do not have corresponding service labels:
If you believe this detection to be incorrect please raise the concern with your reviewer. Googlers: This error is safe to ignore once you've completed go/fix-missing-service-labels. Test reportAnalytics
Affected Service Packages
Step 1: Replaying Mode Action takenFound 12 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
View the replaying VCR build log Step 2: Recording Mode
Caution Issues requiring attention before PR completion 🔴 Initial Recording Failed: Some tests failed during the recording step. See the table above for details. Please address these issues to complete your PR. If you believe these detections are incorrect or unrelated to your change, please raise the concern with your reviewer. View the recording VCR build log or the debug logs folder for detailed results. @jiany18-qd, @slevenick VCR tests complete for 464bc26! |
464bc26 to
122ebf1
Compare
…servability bucket format
|
/gcbrun |
Adds a beta resource for MonitoredAgent using the enable/disable-as-CRUD pattern (Create=Enable, Delete=Disable, Read=Get). Includes
disable_on_destroyand NOT_FOUND retry for agent discovery lag.Companion to PR #18270 (AgentAnomalyDetectionScope).
b/527074080