Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions blueprints/fedramp-high/app-engine/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,38 @@ You should see this README and some terraform files.
Use the GCP consule to verify if the resources have been created.

```To verify the creation of Instance classes: Go to Instances in your landing project``` <br />

## Deployer Permissions

The service account or identity deploying this blueprint requires the following roles:
- **Workload Project (`main_project_id`):**
- `roles/appengine.appCreator` or `roles/appengine.appAdmin`
- `roles/serviceusage.serviceUsageAdmin`

### Impersonated Deployment Configuration

When deploying through service account impersonation, the Terraform `google` and `google-beta` providers must specify `user_project_override = true` and `billing_project` set to the workload project. Without this setting, provider-level quota and API enablement checks resolve against the deploying service account's project rather than the target workload project, leading to false `SERVICE_DISABLED` errors.

Example provider configuration:

```hcl
provider "google" {
project = "<workload-project-id>"
region = "<region>"
impersonate_service_account = "<deployer-sa>@<iac-project-id>.iam.gserviceaccount.com"
user_project_override = true
billing_project = "<workload-project-id>"
}

provider "google-beta" {
project = "<workload-project-id>"
region = "<region>"
impersonate_service_account = "<deployer-sa>@<iac-project-id>.iam.gserviceaccount.com"
user_project_override = true
billing_project = "<workload-project-id>"
}
```

<!-- BEGIN TFDOC -->
## Variables

Expand Down
38 changes: 36 additions & 2 deletions blueprints/il5/postgresql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,42 @@ limitations under the License.
1. Copy terraform.tfvars.sample to terraform.tfvars
1. Updated terraform.tfvars

## Notes
1. This blueprint consumes the shared `cloudsql-instance` module and attaches to an existing Private Service Access (PSA) connection via `psa_config.private_network`. It does not create or manage the underlying IP address reservation or VPC peering connection.
## Deployer Permissions

The service account or identity deploying this blueprint requires the following roles:
- **Workload Project (`main_project_id`):**
- `roles/cloudsql.admin`
- `roles/serviceusage.serviceUsageAdmin`
- **Network Host Project (`network_project_id`):**
- `roles/compute.networkUser`
- `roles/compute.securityAdmin` (for managing the firewall rule)
- **KMS Project / Key (`kms_key_name`):**
- `roles/cloudkms.cryptoKeyEncrypterDecrypter`

### Impersonated Deployment Configuration

When deploying through service account impersonation, the Terraform `google` and `google-beta` providers must specify `user_project_override = true` and `billing_project` set to the workload project. Without this setting, provider-level quota and API enablement checks resolve against the deploying service account's project rather than the target workload project, leading to false `SERVICE_DISABLED` errors.

Example provider configuration:

```hcl
provider "google" {
project = "<workload-project-id>"
region = "<region>"
impersonate_service_account = "<deployer-sa>@<iac-project-id>.iam.gserviceaccount.com"
user_project_override = true
billing_project = "<workload-project-id>"
}

provider "google-beta" {
project = "<workload-project-id>"
region = "<region>"
impersonate_service_account = "<deployer-sa>@<iac-project-id>.iam.gserviceaccount.com"
user_project_override = true
billing_project = "<workload-project-id>"
}
```

<!-- BEGIN TFDOC -->
## Variables

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ iam.allowedPolicyMemberDomains:
essentialcontacts.managed.allowedContactDomains:
rules:
- enforce: true
parameters: '{"allowedDomains":["@${domain_name}"]}'


%{ if !contains(["FEDRAMP_MODERATE"], regime) ~}
Expand Down
Loading