Skip to content

Conversation

@renato-rudnicki
Copy link
Owner

No description provided.


variable "image_digest" {
description = "SHA256 digest of the Docker image."
type = string
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tá faltando um default = null nessa variável do image_digest


description = "SHA256 digest of the Docker image."
type = string
}

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tem que adicioanr uma varivael nova

variable "confidential_space_workload_operator" {
  description = "The person who runs the workload that operates on the combined confidential data. Entries must be in the standard GCP form: `user:[email protected]` or `serviceAccount:[email protected]`."
  type        = string
  default     = null
}

*/

locals {
default_tee_image_reference = "us-central1-docker.pkg.dev/${local.env_project_id}/${google_artifact_registry_repository.ar_confidential_space.repository_id}/workload-confidential-space:latest"
Copy link
Collaborator

@daniel-cit daniel-cit Jun 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

não pode estar fixo o us-central1, tem que ser o mesmo valor usado na criação do artifac registry var.artifact_registry_location

resource "google_project_iam_member" "workload_sa_user" {
project = local.env_project_id
role = "roles/iam.serviceAccountUser"
member = "user:${data.google_client_config.default.account_id}"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
member = "user:${data.google_client_config.default.account_id}"
member = var.confidential_space_workload_operator"

não existe data.google_client_config no codigo e vc tem que perguntar para o usuario

Copy link
Collaborator

@daniel-cit daniel-cit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tá faltando toda a parte em que tem que criar o cloud build , e gerar a imagem

@daniel-cit
Copy link
Collaborator

tem que rodar o make docker_generate_docs e o make docker_test_lint

@renato-rudnicki renato-rudnicki changed the title add confidential space feat: add confidential space Sep 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants