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

Parameters

  • create_time requiredcomputed - string
    • The time this note was created.

  • expiration_time optional - string
    • Time of expiration for this note. Leave empty if note does not expire.

  • id optionalcomputed - string
  • kind requiredcomputed - string
    • The type of analysis this note describes

  • long_description optional - string
    • A detailed description of the note

  • name required - string
    • The name of the note.

  • project optionalcomputed - string
  • related_note_names optional - set / string
    • Names of other notes related to this note.

  • short_description optional - string
    • A one sentence description of the note.

  • update_time requiredcomputed - string
    • 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

Scan your IaC problem in 3 minutes for free

You can keep your IaC security for free. No credit card required.