Google Container Registry Analysis Note

This page shows how to write Terraform for Container Registry Analysis Note and write them securely.

google_container_analysis_note (Terraform)

The Analysis Note in Container Registry can be configured in Terraform with the resource name google_container_analysis_note. The following sections describe 1 example of how to use the resource and its parameters.

Example Usage from GitHub

main.tf#L7
resource "google_container_analysis_note" "this" {
  expiration_time    = var.expiration_time
  long_description   = var.long_description
  name               = var.name
  project            = var.project
  related_note_names = var.related_note_names

Review your Terraform file for Google best practices

Shisho Cloud, our free checker to make sure your Terraform configuration follows best practices, is available (beta).

Parameters

The time this note was created.

Time of expiration for this note. Leave empty if note does not expire.

  • id optional computed - string
  • kind optional computed - string

The type of analysis this note describes

A detailed description of the note

The name of the note.

Names of other notes related to this note.

A one sentence description of the note.

The time this note was last updated.

Explanation in Terraform Registry

A Container Analysis note is a high-level piece of metadata that describes a type of analysis that can be done for a resource. To get more information about Note, see:

Frequently asked questions

What is Google Container Registry Analysis Note?

Google Container Registry Analysis Note is a resource for Container Registry of Google Cloud Platform. Settings can be wrote in Terraform.

Where can I find the example code for the Google Container Registry Analysis Note?

For Terraform, the niveklabs/google source code example is useful. See the Terraform Example section for further details.

security-icon

Automate config file reviews on your commits

Fix issues in your infrastructure as code with auto-generated patches.