Skip to content

Commit

Permalink
providers/aws: update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchellh committed Aug 21, 2014
1 parent 200f7c4 commit 5b620b7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions builtin/providers/aws/resource_aws_security_group.go
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,13 @@ func resourceAwsSecurityGroupUpdate(d *schema.ResourceData, meta interface{}) er

// TODO: We need to handle partial state better in the in-between
// in this update.

// TODO: It'd be nicer to authorize before removing, but then we have
// to deal with complicated unrolling to get individual CIDR blocks
// to avoid authorizing already authorized sources. Removing before
// adding is easier here, and Terraform should be fast enough to
// not have service issues.

if len(remove) > 0 {
// Revoke the old rules
_, err = ec2conn.RevokeSecurityGroup(group, remove)
Expand Down

0 comments on commit 5b620b7

Please sign in to comment.