Skip to content

Run 1: Infrastructure — Changelog

Branch: jmpicnic/frontend-pipeline/infrastructure-changesmain

FileChange
src/main/cfn/amplifyBranch.cfn.yamlAdded EnableAutoBuild parameter (String, default "true") with Conditions section and !If for boolean conversion. Added AmplifyBranchName CloudFormation export.
src/main/cfn/amplifyExports.cfn.yamlNew file — lightweight export template with WaitConditionHandle placeholder resource. Parameters: Infrastructure, Partition, AmplifyAppId, AmplifyBranchName.
amm.shAdded 4 mapping constants (AMPLIFY_DEPLOY_TARGETS, AMPLIFY_BRANCH_NAMES, AMPLIFY_APP_REPOS, AMPLIFY_REGION_OVERRIDES). Replaced infrastructure-level gate with target list check. Parameterized Repo/AppName/Branch. Added branch_name validation. Passes EnableAutoBuild=false for demo.
.github/workflows/amm.ymlChanged ARDA_API_KEY from secrets.ARDA_API_KEY_KYLE to secrets[format('ARDA_API_KEY_{0}', steps.partition.outputs.partition)].
src/main/cdk/constructs/oam/gh-oidc-provider.tsAdded frontendDeploymentRole() method. New role: ${prefix}-API-GitHubActionFrontEnd with Amplify and CloudFormation ListExports permissions. OIDC scoped to arda-frontend-app on main, patch, demo branches. Exposed via GhOidcProviderBuilt interface.
CHANGELOG.mdAdded v2.23.0 entry.
ChangeBranch
Created demo branch off main at 30f4e73demo
Added test-oidc.yaml (temporary)demo
ResourceTypeStatus
Alpha001-demo-AmplifyCloudFormation stackCreated
Alpha001-demo-AmplifyBranchCloudFormation stackCreated
Alpha001-API-GitHubActionFrontEndIAM roleCreated (via CDK)
d2jmcx9om9gokxAmplify AppCreated, build succeeded
GITHUB_TOKEN env var on demo appManual workaroundApplied (not in CFn template)
ResourceTypeStatus
Alpha002-API-GitHubActionFrontEndIAM roleCreated (via CDK, deployed with Alpha002/dev)
TicketDescription
infrastructure#426amm.sh: partition-aware 1Password secret lookup for local runs
infrastructure#427amplify.cfn.yaml: add GITHUB_TOKEN env var for GitHub Packages auth
#IssueResolution
1EnableAutoBuild String→booleanAdded Conditions + !If for proper boolean conversion
2AMPLIFY_REGION_OVERRIDES unused in scriptClarified comment — consumed by GHA workflows, not amm.sh
3branch_name not validatedAdded empty-check with error exit
4Secret case sensitivity concernNo change — same pattern used in operations repo; GHA secrets are case-insensitive
5Missing Resources section in export templateAdded WaitConditionHandle placeholder