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

Add dependency for compute-vm schedule #2870

Merged
merged 1 commit into from
Feb 7, 2025

Conversation

wiktorn
Copy link
Collaborator

@wiktorn wiktorn commented Feb 7, 2025

Fixes:

Plan: 5 to add, 0 to change, 0 to destroy.
module.project.google_project_service.project_services["compute.googleapis.com"]: Creating...
module.project.google_project_service.project_services["compute.googleapis.com"]: Creation complete after 4s [id=***-1738911960w5-prj/compute.googleapis.com]
module.project.google_project_iam_member.service_agents["compute-system"]: Creating...
module.project.google_project_iam_member.service_agents["compute-system"]: Creation complete after 7s [id=***-1738911960w5-prj/roles/compute.serviceAgent/serviceAccount:[email protected]]
module.project.google_project_iam_member.bindings["compute-admin-service-agent"]: Creating...
module.instance.google_compute_resource_policy.schedule[0]: Creating...
module.instance.google_compute_resource_policy.schedule[0]: Creation complete after 1s [id=projects/***-1738911960w5-prj/regions/europe-west4/resourcePolicies/schedule-test]
module.instance.google_compute_instance.default[0]: Creating...
module.project.google_project_iam_member.bindings["compute-admin-service-agent"]: Creation complete after 8s [id=***-1738911960w5-prj/roles/compute.instanceAdmin.v1/serviceAccount:[email protected]]
 
Error: Error creating instance: googleapi: Error 412: Compute Engine System service account [email protected] needs to have [compute.instances.start,compute.instances.stop] permissions applied in order to perform this operation., conditionNotMet

  with module.instance.google_compute_instance.default[0],
  on fabric/modules/compute-vm/main.tf line 150, in resource "google_compute_instance" "default":
 150: resource "google_compute_instance" "default" {

', '
Error: Error creating instance: googleapi: Error 412: Compute Engine System service account [email protected] needs to have [compute.instances.start,compute.instances.stop] permissions applied in order to perform this operation., conditionNotMet

  with module.instance.google_compute_instance.default[0],
  on fabric/modules/compute-vm/main.tf line 150, in resource "google_compute_instance" "default":
 150: resource "google_compute_instance" "default" {

')

Checklist

I applicable, I acknowledge that I have:

  • Read the contributing guide
  • Ran terraform fmt on all modified files
  • Regenerated the relevant README.md files using tools/tfdoc.py
  • Made sure all relevant tests pass

@wiktorn wiktorn enabled auto-merge (rebase) February 7, 2025 09:34
@wiktorn wiktorn force-pushed the wiktorn-fix-compute-vm-schedule branch from bc74ba3 to 2f0d850 Compare February 7, 2025 10:33
@wiktorn wiktorn merged commit 7c5b84f into master Feb 7, 2025
18 checks passed
@wiktorn wiktorn deleted the wiktorn-fix-compute-vm-schedule branch February 7, 2025 11:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants