Open eschneider1271 opened 4 years ago
Hi @eschneider1271,
I ran into the same problem but had to clone the repo and modify the code to get it working correctly.
The following function needed updating in the Cluster class:
public isPublic(): boolean {
return this.options.services[0].public;
}
Add a public property to the IServiceOptions:
export interface IServiceOptions {
name: string;
cpu: number;
memory: number;
public: boolean;
I tested it this week and works as it was intended to do so.
Please, check #26, this issue has been fixed on the active repository since last year.
Hi,
I can't seem to get the
public
option working. I tried moving this option out of the services array and into the options context, which helped. Now, the generated CloudFormation in my .serverless directory correctly sets AssignPublicIp as desired. However, I'm hitting the following validation error on deployment:It looks like a required security group is not being created?
Here's my full template:
Any ideas? Thanks.