Skip to content

[Bug] 3-security: an enabled perimeter fails when the logging variable is unset #318

Closed

Description

@digitalresistor

Bug Description

The fast/stages-aw/3-security/vpc-sc.tf file always adds the fast-org-log-sinks ingress policy to the default perimeter, but defines that policy only when var.logging is set. With var.logging = null and a default perimeter, the perimeter references a policy that does not exist.

Environment and Deployment Context

  • Stellar Engine Version/Commit: main at commit 2b112119e
  • Deployment Type:
    • US Region Restricted (e.g., Access Policy constraint)
    • FedRAMP Moderate
    • FedRAMP High
    • DoD IL4
    • DoD IL5
    • Stand-alone / Custom
  • FAST Stage (if applicable):
    • Stage 0 (Bootstrap)
    • Stage 1 (Resource Management)
    • Stage 2 (Network Creation)
    • Stage 3 (Security and Audit)
  • Affected Component: fast/stages-aw/3-security
  • Terraform Version: any; static analysis of the configuration
  • GCP Provider Version: any

Steps to Reproduce

  1. Set vpc_sc.perimeter_default and leave logging unset.
  2. Run terraform plan for the stage.

Expected Behavior

The perimeter omits the log sink ingress policy when no logging configuration exists.

Actual Behavior

The plan fails on the undefined fast-org-log-sinks policy. After the upstream sync in #311, a module precondition reports the same problem.

Relevant Logs and Errors

The plan fails because the perimeter refers to an ingress policy key that local.vpc_sc_ingress_policies does not define.

Additional Context

Activity

  1. added
    Bug
    Security
    Priority - High
    Level of Effort - Low
    Scope - Fast
    on Oct 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugLevel of Effort - LowPriority - HighScope - FastSecurity

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions