Skip to content

Commit

Permalink
Run prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
gordon-klotho committed Nov 21, 2023
1 parent 1879b16 commit b5a8902
Show file tree
Hide file tree
Showing 10 changed files with 17 additions and 12 deletions.
2 changes: 1 addition & 1 deletion pkg/infra/iac3/templates/aws/ecr_image/factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,4 @@ function properties(object: docker.Image, args: Args) {
return {
ImageName: object.imageName,
}
}
}
2 changes: 1 addition & 1 deletion pkg/infra/iac3/templates/aws/eks_cluster/factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ function properties(object: aws.eks.Cluster, args: Args) {
CertificateAuthorityData: object.certificateAuthorities[0].data,
ClusterSecurityGroup: object.vpcConfig.clusterSecurityGroupId,
}
}
}
4 changes: 3 additions & 1 deletion pkg/infra/iac3/templates/aws/eks_fargate_profile/factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ interface Args {
Subnets: aws.ec2.Subnet[]
Cluster: aws.eks.Cluster
PodExecutionRole: aws.iam.Role
Selectors: TemplateWrapper<pulumi.Input<pulumi.Input<aws.types.input.eks.FargateProfileSelector>[]>>
Selectors: TemplateWrapper<
pulumi.Input<pulumi.Input<aws.types.input.eks.FargateProfileSelector>[]>
>
}

// noinspection JSUnusedLocalSymbols
Expand Down
2 changes: 1 addition & 1 deletion pkg/infra/iac3/templates/aws/iam_oidc_provider/factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ function properties(object: aws.iam.OpenIdConnectProvider, args: Args) {
Sub: `${object.url}:sub`,
Aud: `${object.url}:aud`,
}
}
}
2 changes: 1 addition & 1 deletion pkg/infra/iac3/templates/aws/iam_role/factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ function properties(object: aws.iam.Role, args: Args) {
return {
Arn: object.arn,
}
}
}
9 changes: 6 additions & 3 deletions pkg/infra/iac3/templates/aws/region/factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ function create(args: Args): pulumi.Output<pulumi.UnwrappedObject<aws.GetRegionR
return pulumi.output(aws.getRegion({}))
}

function properties(object: pulumi.Output<pulumi.UnwrappedObject<aws.GetRegionResult>>, args: Args) {
function properties(
object: pulumi.Output<pulumi.UnwrappedObject<aws.GetRegionResult>>,
args: Args
) {
return {
Name: object.apply(o => o.name),
Name: object.apply((o) => o.name),
}
}
}
2 changes: 1 addition & 1 deletion pkg/infra/iac3/templates/aws/target_group/factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ function properties(object: aws.lb.TargetGroup, args: Args) {
return {
Arn: object.arn,
}
}
}
2 changes: 1 addition & 1 deletion pkg/infra/iac3/templates/aws/vpc/factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ function properties(object: aws.ec2.Vpc, args: Args) {
return {
Id: object.id,
}
}
}
2 changes: 1 addition & 1 deletion pkg/infra/iac3/templates/kubernetes/kube_config/factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ function create(args: Args): pulumi.Output<string> {
kind: args.kind,
users: args.users,
})
}
}
2 changes: 1 addition & 1 deletion pkg/infra/iac3/templates/kubernetes/manifest/factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ interface Args {
Name: string
FilePath: string
Transformations?: Record<string, pulumi.Output<string>>
Provider: pulumi_k8s.Provider
Provider: pulumi_k8s.Provider
dependsOn?: pulumi.Input<pulumi.Input<pulumi.Resource>[]> | pulumi.Input<pulumi.Resource>
}

Expand Down

0 comments on commit b5a8902

Please sign in to comment.