suzuki-shunsuke/JavaScript Action

JavaScript Action

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
actionactionyes
github_tokenGitHub Access Token pull-requests:write - Create pull request comments no${{ github.token }}
github_token_for_github_providerGitHub Access Token for Terraform GitHub Provider. Set as GITHUB_TOKEN during terraform/tfmigrate plan and apply. When unset, github_token is used as GITHUB_TOKEN (current behavior). no
secretsA JSON representing a map whose keys are secret names and values are secret values. Used by setup to compute the secrets output, and by terraform-init, plan, and apply to pass secrets as environment variables during command execution.no
aws_secretsA JSON representing a map whose keys are environment variable names and values are secret values fetched from AWS Secrets Manager. Passed from the output of output-aws-secrets-manager action.no
github_secretsGitHub Secrets as JSON. Used by output-github-secrets to map secrets to environment variable names.no
csm_app_idGitHub App IDno
csm_app_private_keyGitHub App Private Keyno
branchBranch name to be updated by generate-config-outno
fileFile name to be updated by generate-config-outno
module_pathModule path to be released by release-moduleno
versionVersion to be released by release-moduleno
migration_nameMigration name. scaffold-tfmigrate uses this to create migration files.no
pr_numberPull request number. scaffold-tfmigrate uses this to update pull requests.no
ifCEL expression to determine which comments to hide (hide-comment) or delete (delete-comment). Available variables - Comment.HasMeta (bool), Comment.Meta (object with SHA1, Vars, and optional Program, Command, JobName, PRNumber, Target, WorkflowName, TemplateKey), Commit.SHA1 (string). Optional fields may be absent depending on which tool wrote the metadata (e.g. github-comment omits Program/Command); guard accesses with has() to avoid evaluation errors.no
resultJob result (success, failure, cancelled, or skipped). Used by apply-label to manage labels.no
issueThe issue number. update-drift-issue uses this to update drift issuesno
statusJob status. update-drift-issue uses this to update drift issuesno
namedescription
working_directoryworking directory
aws_assume_role_arnAWS Assume Role ARN
aws_role_session_nameAWS Role Session Name
aws_regionAWS Region
gcp_service_accountGoogle Cloud Platform Service Account for GCP Workload Identity Federation
gcp_workload_identity_providerGoogle Cloud Platform Identity Provider for GCP Workload Identity Federation
gcp_access_token_scopesList of OAuth 2.0 access scopes to be included in the generated token for authenticating to Google Cloud
s3_bucket_name_tfmigrate_historyS3 Bucket name for tfmigrate history files
gcs_bucket_name_tfmigrate_historyGCS Bucket name for tfmigrate history files
template_dirTemplate Directory path for scaffolding a working directory
providers_lock_optsterraform providers lock options
enable_tflintIf true, tflint is enabled in test action
tflint_fixIf true, tflint --fix is enabled in test action
enable_trivyIf true, trivy is enabled in test action
enable_terraform_docsIf true, terraform-docs is enabled in test action
destroyIf true, terraform plan is run with the `-destroy` option
terraform_commandTerraform command. By default, the value is "terraform". If you use OpenTofu, the value is "tofu"
secretsA JSON representing a map whose keys are environment variable names and values are secret values. Output by output-github-secrets and output-aws-secrets-manager actions.
working_directory_filefile name which locates on working directories
label_prefix_targetlabel prefix for target
label_prefix_tfmigratelabel prefix for tfmigrate
label_prefix_skiplabel prefix to skip terraform plan and apply
skip_create_prWhether skip creating pull requests
drift_issue_repo_ownerDrift Issue Repository owner
drift_issue_repo_nameDrift Issue Repository name
update_local_path_module_callerIf true, local-path module caller is updated when any of local-path modules is updated. Golang is needed to use this feature.
aqua_update_checksum_enabledIf true, aqua-checksums.json on working directories is updated
aqua_update_checksum_skip_pushaqua update-checksum's `skip_push`
aqua_update_checksum_pruneaqua update-checksum's `prune`
plan_workflow_nameGitHub Actions Workflow name running tfaction/terraform-plan action
csm_actions_server_repositoryCSM Actions Server Repository
skip_terraformwhether terraform is skipped
fileA JSON representing a map whose keys are module directories and values are directories where the module is used. { "module1": ["caller1", "caller2"], }
pr_numberPull request number
targetslist of targets