Commit graph

7 commits

Author SHA1 Message Date
Adam Moussa
c54997fe5c
feat(iam): import hcptf roles into app Terraform (PLAT-146) (#68)
* feat(iam): import hcptf roles into app Terraform (PLAT-146)

Move the existing prod plan/apply pair into this repo. First apply uses the bootstrap window because DenySelfMutation blocks self-detach of seahaven-hcptf-iam-management.

* fix(iam): let the plan role refresh imported hcptf roles (PLAT-146)

The scoped plan-refresh sidecar only covered tf-managed/afi-*. After import, plans need GetRole on the hcptf pair in this workspace.

* style(iam): terraform fmt hcp_iam.tf (PLAT-146)

CI terraform fmt -check failed on alignment in the apply-services document.

* fix(iam): tighten plan-refresh and scoped boundary pin (PLAT-146)

Plan-refresh copied lambda:* from apply, so a plan session could mutate afi functions. Drop the unsuffixed org-wide Lambda boundary so scoped apply cannot retarget exec roles onto that ceiling.

* fix(iam): replace deprecated managed_policy_arns (PLAT-146)

Keep exclusive attachment control so the apply role stays empty and the plan role keeps ViewOnlyAccess.

* ci(iam): retrigger HCP commit status (PLAT-146)
2026-09-02 18:32:07 +00:00
Adam Moussa
dfb3752818
fix(iam): attach per-workload lambda permissions boundary (PLAT-52) (#60) 2026-08-20 16:01:48 -04:00
dependabot[bot]
cb9ae82157
chore(deps): bump hashicorp/aws (#59)
Bumps the minor-and-patch group in /terraform with 1 update: [hashicorp/aws](https://github.com/hashicorp/terraform-provider-aws).


Updates `hashicorp/aws` from 6.58.0 to 6.60.0
- [Release notes](https://github.com/hashicorp/terraform-provider-aws/releases)
- [Changelog](https://github.com/hashicorp/terraform-provider-aws/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/terraform-provider-aws/compare/v6.58.0...v6.60.0)

---
updated-dependencies:
- dependency-name: hashicorp/aws
  dependency-version: 6.60.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-18 20:14:03 +00:00
dependabot[bot]
fc1422f03f
chore(deps): bump hashicorp/aws from 5.100.0 to 6.57.1 in /terraform (#51)
Bumps [hashicorp/aws](https://github.com/hashicorp/terraform-provider-aws) from 5.100.0 to 6.57.1.
- [Release notes](https://github.com/hashicorp/terraform-provider-aws/releases)
- [Changelog](https://github.com/hashicorp/terraform-provider-aws/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/terraform-provider-aws/compare/v5.100.0...v6.57.1)

---
updated-dependencies:
- dependency-name: hashicorp/aws
  dependency-version: 6.57.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-05 16:19:02 -04:00
Adam Moussa
435b7e3464
chore(afi): post-cutover hygiene after hcp migration (#48)
Remove stale SAM template and cutover docs, disable SAM validate, add
terraform Dependabot, and complete multi-platform provider lock hashes.
2026-08-05 15:54:51 -04:00
d853ae8eaf
fix(iac): ship lambda zips via s3 for hcp plan/apply split
HCP plan and apply workers do not share disk; carry archive bytes in the
plan with content_base64 and add IAM depends_on before function create.
2026-08-05 12:18:30 -04:00
8f745ce898
feat(iac): add hcp terraform config for prod migration
Migrate afi-backup-monitor deploy path from SAM CD to HCP Terraform
parity config; freeze mgmt by removing push-to-main SAM deploy.
2026-08-05 12:01:05 -04:00