Skip to content
This repository has been archived by the owner on Aug 6, 2021. It is now read-only.

Application Security Group : icmp rules are KO #2

Closed
poblin-orange opened this issue Dec 19, 2016 · 1 comment
Closed

Application Security Group : icmp rules are KO #2

poblin-orange opened this issue Dec 19, 2016 · 1 comment

Comments

@poblin-orange
Copy link
Member

Tested with terraform cloudfoundry provider 0.8 / 0.5.4
I cant apply ASG icmp rules (cf 245).
Here is the error i get

cloudfoundry_quota.tf_org_quota: Refreshing state... (ID: dcad5ab4-3dbe-4724-b602-83044b646831)                    
cloudfoundry_sec_group.sec_group_services-ping: Creating...                                                        
  name:                         "" => "services-ping"                                                              
  on_running:                   "" => "true"                                                                       
  on_staging:                   "" => "false"                                                                      
  rules.#:                      "" => "1"                                                                          
  rules.2387358670.code:        "" => "0"
  rules.2387358670.description: "" => "any ICMP to NET_CF_SERVICES"
  rules.2387358670.destination: "" => "192.168.30.0-255.255.255.0"
  rules.2387358670.log:         "" => "false"
  rules.2387358670.ports:       "" => ""
  rules.2387358670.protocol:    "" => "icmp"
  rules.2387358670.type:        "" => "0"
Error applying plan:

1 error(s) occurred:

* cloudfoundry_sec_group.sec_group_services-ping: Server error, status code: 400, error code: 300001, message: The security group is invalid: rules rule number 1 missing required field 'code', rules rule number 1 missing required field 'type'

Terraform does not automatically rollback in the face of errors.
Instead, your Terraform state file has been partially updated with
any resources that successfully completed. Please address the error
above and apply again to incrementally change your infrastructure.

@ArthurHlt
Copy link
Member

Fixed on commit: 3e1d267

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants